Hamad bin Khalifa al-Thani, ruling Emir of Qatar from 1995 to 2013, was the first Arab politician received by Nicolas Sarkozy after the latter's election to the French presidency in May 2007. The French government made of Qatar under Hamad's guidance a strategic partner, and the list of partnerships between the two states includes Total, EADS, Technip, Air Liquide, Vinci SA, GDF Suez, and Areva. France was, under the Hamad government, the primary arms supplier to the Emirate. In February 2009, under the Sarkozy government, France accorded special beyond-OCDE investment privileges to Qatar, its ruling family and its State-Owned Enterprises; one example of the privileges is capital gains exemptions in France.
He participated in mediation of ceasefire in Yemen between the Government of Yemen and the Houthi Movement in 2007. In 2010, the two parties agreed to activate the agreement after confrontations threatening the ceasefire. The mediation ended a six-year war between the two sides.
In 2007, Hamad helped organize the Lebanese national dialogue and the peace agreement between various Lebanese political groups to end the worst internal fighting in Lebanon since the civil war of 1975–1990. In an attempt to resolve a broader political showdown that had paralyzed the country for 18 months, Hamad summoned the Lebanese government and Hezbollah-led opposition to Qatar for talks. He declared an agreement sponsored by the Arab League to deal with the Lebanese crisis. In the agreement the parties pledged, “to refrain from returning to the use of weapons or violence to realize political gains." The Lebanese government furthermore committed itself to introduce a new electoral law designed to provide better representation in the country's sectarian system of power sharing.