Poincar had studied curves on a surface but Lefschetz pushed the ideas into much more general settings by building a theory of subvarieties of an algebraic variety

Can you repeat this sentence, but add in punctuation?
Poincare had studied curves on a surface but Lefschetz pushed the ideas into much more general settings by building a theory of subvarieties of an algebraic variety.