France took over the city of Antananarivo in 1895, and added Madagascar as a colony two years later. Madagascar became independent from France, which meant it became its own country, on 26 June, 1960. On March 17, 2009, President Marc Ravalomanana quit because of pressure from the military. Andry Raejolina became the next president.