 During the 2002 election dispute between Ratsiraka and Marc Ravalomanana, which eventually led to Ratsiraka being forced into exile, Andrianarivo announced a state of emergency imposed by Ratsiraka following Ravalomanana's declaration that he was president on February 22.In the following months the two rival governments struggled for control of the island.On 27 May 2002, Ravalomanana's forces raided the prime minister's residence in Antananarivo — the last government building in the capital still under the control of the Ratsiraka government — and detained Andrianarivo; Ravalomanana's prime minister, Jacques Sylla, took over the residence.