Anastasio Bustamante was first elected president in 1830 after leading a coup against Vicente Guerrero.