I read that Riemann started studying the so-called Riemann's surfaces in the second half of the 19th century, introducing tools like meromorphic functions and meromorphic 1-forms. The culmination of that theory can be considered the Riemann-Roch theorem, quantifying the possible meromorphic functions existing on a compact Riemann surface with some constraints expressed in terms of divisors.
Today, most Algebraic Geometry books introduce varieties defined over an arbitrary field. Compact Riemann surfaces, if mentioned, appear as a particular case $K = \mathbb{C}$.
My main question here is stated in the title, but here are related sub-questions that could guide the answer:
- Who first started to define and study algebraic varieties and were those people aware of the results about Riemann surfaces?
- Was the equivalence between compact Riemann surfaces and projective algebraic curves over $\mathbb{C}$ already known, or suspected, then?
- How did people come up with the idea of using things like 1-forms to study varieties over an arbitrary field?
- Also, with some knowledge of logic, one can justify that some interesting results over $\mathbb{C}$ might be proven algebraically (knowing that the theory of algebraically closed fields of characteristic 0 is complete). Was that known/influential when people started studying Algebraic Geometry?