Complex sentence: The wife was in charge of her children if her husband died, but when her oldest son reached the age of fifteen, he became the guardian.
Split into simpler sentences: The wife was in charge of her children if her husband died. However, when her oldest son reached the age of fifteen, he became the guardian.