Complex sentence: After a short exile under General Jose Antonio Paez, in 1827 Bolivar retook Venezuela and appointed Mendoza as Intendant of the Department of Venezuela, a role Medoza kept until resigning in the middle of 1828.
Split into simpler sentences: After a short exile under General Jose Antonio Paez, Mendoza again returned to Venezuela in 1827 when Bolivar retook the city. Bolivar appointed Mendoza Intendant of the Department of Venezuela, a role Medoza kept until resigning in the middle of 1828.