Complex sentence: He took refuge in 1825, and then went to Mexico, where, becoming naturalized, he obtained a post as magistrate.
Split into simpler sentences: He took refuge in 1825, and then went to Mexico. He became naturalized and obtained a post as magistrate.