Nevanlinna in his book Analytic functions states the following (at the very end of Ch. X): For every compact Riemann surface $X$ of genus $g\geq 2$ there is a non-constant holomorphic map $f:X\to Y$ to some hyperelliptic Riemann surface $Y$. How is this proved?