Complex sentence: He spent the next 25 years as pastor of the village of Gülzow, during which time he composed nearly all his works, some of which enjoyed the patronage of the family.
Split into simpler sentences: He spent the next 25 years as pastor of the village of Gülzow. During that time he composed nearly all his works, some of which enjoyed the patronage of the family.