Complex sentence: At the age of twenty-seven, Mary returned to teaching and taught in the city's public schools for 27 years, retiring from her position as principal of School No.2 in 1883.
Split into simpler sentences: At the age of twenty-seven, she returned to teaching. She retired from her position as principal of School No.2 in 1883.