Recep Tayyip Erdogan began a third term of office in June 2011, following a resounding general election win for his Islamist-leaning Justice and Development Party (AKP).
The election gave the AKP its highest electoral score since coming to power in 2002, and put Mr Erdogan on course to become the most successful leader in Turkey's democratic history.
His party nonetheless fell just short of the majority it was seeking to press ahead with a major constitutional overhaul without the support of other parties in parliament. Mr Erdogan in his victory speech promised to seek compromise with the opposition over the issue.
Mr Erdogan has brought economic and political stability to Turkey and faced down the country's powerful military establishment, which previously had a history of overthrowing elected governments that it saw as challenging either the secular constitution or national security.
Steady military pressure combined with negotiations also brought the Kurdish rebel PKK group to a truce that provided for a withdrawal of all PKK fighters to Iraq from May 2013.
In September 2010, his government won resounding public approval for its plans to change the 30-year-old constitution. The amendments to the constitution were aimed at reducing still further the power of the military and meeting the requirements for EU membership.
Opponents accuse the government of authoritarianism and point to growing intolerance towards critical journalists and media. The Journalists Union of Turkey says 94 were in jail for carrying out their professional duties - the highest number in the world. More than half are members of the Kurdish minority.
The heavy sentences handed down to retired military officers found guilty of conspiring against the Islamist government have also led Mr Erdogan's critics to accuse him of trying to silence the secularist opposition. The prime minister denies that these cases are politically motivated.
Mr Erdogan hinted in October 2012 that he might stand for the presidency in 2014, and is widely expected to made renewed efforts to boost the constitutional powers of the head of state ahead of the vote in order to turn Turkey into a presidential republic.
Mr Erdogan first became prime minister several months after his party's landslide election victory in November 2002. He had been barred from standing in the poll because of a previous criminal conviction for reading an Islamist poem at a political rally. Changes to the constitution paved the way for him to run for parliament in 2003.
He identified EU entry as a top priority and introduced reforms which paved the way for the opening of membership talks in October 2005. although these have run into the twin pillars of widespread European opposition and the eurozone crisis.
Since then Mr Erdogan's foreign policy has concentrated as seeking a role as honest broker in the Middle East by building bridges to Iran and Arab states, while adopting a stridently hostile tone towards Turkey's longstanding ally Israel - albeit falling short of severing diplomatic relations.
The popularity of his "Turkish model" among liberals and moderate Islamic groups in Arab countries has boosted Turkey's prestige, although this has yet to translate into tangible foreign-policy gains for the country.
In the summer of 2013 Mr Erdogan began to look vulnerable for the first time as mass anti-government protests erupted in several cities, further inflamed by the violent police response.
A further threat to Mr Erdogan's continued rule emerged in December 2013, when police launched an inquiry into alleged corruption among the prime minister's allies. Mr Erdogan denounced the probe as a "dirty operation" against his government.