During the Yemeni revolution , the Gulf Cooperation Council proposed an agreement whereby President Ali Abdullah Saleh would transfer his powers to Vice President Hadi. Saleh signed an agreement in Riyadh on 23 November 2011 under which he was to remain in office as a figurehead for up to three months, after which elections would be held.  On 26 November, Hadi announced 21 February 2012 as the date for the elections. 
The Houthis in northern Yemen called for a boycott of the vote, but said they would not stop those who wished to vote from doing so. In the same vein, the southern secessionists also called for a boycott. Yemeni police said they had arrested "hardliners" from the movement who they alleged sought to forcefully prevent people from voting. 
Despite the ongoing uprising and reactions that continued to cause violence, other poll related violence included at least two attacks near polling stations prior to the vote. One of the attacks occurred the day before the election in Aden , a stronghold of the Southern Movement seeking to secede and restore an independent South Yemen , that result in the death of one soldier. The Yemeni government warned that there was "certain" to be violent attempts to disrupt the vote. On election day, at least one security service personnel was killed in the southern al-Mansoura district. Further violence was reported in the south. Al-Qaeda in the Arabian Peninsula was also accused of attacking election committees.
According to Yemeni law, the final result was expected within ten days. Voter turnout was reported to be 65%. 
|Abd Rabbuh Mansur Hadi||General People's Congress||6,621,921||100|
China – At a regular press briefing Foreign Ministry spokesman Hong Lei said "We hope relevant parties make joint efforts to ensure a peaceful and orderly political transitional process, to restore normal social order at an early date and realize national stability and development". 
France – A Foreign Ministry statement said that France welcomed the holding of the presidential election, commended the Yemeni people for their mobilization and the conduct of the election, which for the most part was peaceful. It also addressed its congratulations to, and expressed its support for and trust in Hadi, however it recognized that serious acts of intimidation resulting in the loss of life were committed in certain southern governorates, notably in the city of Aden , in an attempt to jeopardize the success of the elections, strongly condemning these acts. 
Russia – President of Russia Dmitry Medvedev sent a congratulatory telegram to Hadi, saying "We note with satisfaction that the Republic of Yemen is moving along the path of restoring stability and security and implementing a wide range of social and economic and democratic transformations based on a broad national dialog and in line with the aspirations of all of the country's citizens".  Russian Foreign Ministry spokesman Alexander Lukashevich said "We hail the efforts of the Yemeni authorities who provided voting in the earlier stated date, as well as the active participation of the people (in the election process)". 
Spain – The Spanish government welcomed the elections, considering it a major step towards the democratic transition and the start of a new phase in Yemen's history. The Spanish Foreign Ministry renewed in a statement its full support for democratic transition process in Yemen and confirmed its intention to continue to work with the Yemeni government and the various spectra of Yemeni society to face the future challenges in various fields. 
Turkey – A Foreign Ministry statement welcomed the elections as a significant step and hoped the results of the elections would be beneficial for the Yemeni people. The statement added that "Turkey now expects a national dialogue conference to take place with participation of all seagments in Yemen". 
United States – President Barack Obama told Hadi that the United States would be a steadfast partner and urged him to follow through on promises for a broad national dialogue, political reforms and elections by 2014. 
Hadi took oath of office in the House of Representatives on 25 February. On the same day a suicide bomber detonated his vehicle outside a presidential palace in Mukalla , the capital of Hadhramaut Governorate , killing at 26 members of the Republican Guard .  Saleh formally ceded power to Hadi and stepped down on 27 February 2012.