Is the fundamental group of a compact surface finitely generated?

83 Views Asked by At

I would like to use that the fundamental group $π_1(M)$ of a compact surface $M$ possibly with boundary has a finite set of generators. According to some questions here and sources elsewhere², it sounds like this is well-known but I couldn't find a proof or reference anywhere. Do you know one?

²Consider only closed (i.e. boundary-less) surfaces