Complex sentence: When she attempted to return to Ecuador in 1835, the Ecuadorian president Vicente Rocafuerte revoked her passport and she ended up in northern Peru, living in the small coastal town of Paita.
Split into simpler sentences: When she attempted to return to Ecuador in 1835, the Ecuadorian president, Vicente Rocafuerte, revoked her passport. She then took refuge in northern Peru, living in the small coastal town of Paita.