Complex sentence: Victoria worked for 24 years at Descalzas Reales, serving for 17 years as chaplain to the Empress until her death, and then as convent organist.
Split into simpler sentences: Victoria worked for 24 years at Descalzas Reales. He served there for 17 years as the empress's chaplain until her death and then as convent organist.