In the early 19th century, Napoleon's occupation of Spain led to the outbreak of revolts all across Spanish America. Miguel Hidalgo y Costilla“the father of Mexican independence”launched the Mexican rebellion with his “Cry of Dolores,” and his populist army came close to capturing the Mexican capital.