 During the first round of the presidential elections of 2012, held on 17 March, Ramos-Horta, who was eligible for a second and final term as president, took third place with 19.43% of the vote behind the presidential candidates Francisco Guterres with 27.28% and Taur Matan Ruak 24.17% of the vote.He admitted defeat, and his term as president ended on 19 May, with the inauguration of Taur Matan Ruak as his successor.On 11 February 2008, José Ramos-Horta was shot in an assassination attempt.