The head of Turkey's intelligence service, Hakan Fidan, one of President Tayyip Erdogan's closest confidants, has resigned to run in a parliamentary election in June, two senior Turkish officials said on Saturday.
Fidan, who played a key role in trying to stop the hacking of confidential state communications during a corruption scandal implicating Erdogan's inner circle last year, is seen by some officials in Ankara as a potential future foreign minister.
Fidan's move into politics would give Erdogan, who became Turkey's first popularly-elected head of state last August, another loyal ally in the top ranks of the ruling AK Party, helping cement his grip on government.
"He will make the best of any job in any place," Prime Minister Ahmet Davutoglu was quoted by the Hurriyet newspaper as saying this week, describing Fidan as "brave and valiant".
The two senior officials said Muhammed Dervisoglu, undersecretary of public order and security, would be most likely to replace Fidan.
The intelligence agency could not immediately be reached for comment.
Fidan was appointed by Erdogan, then prime minister, as head of the National Intelligence Agency (MIT) almost five years ago. He has played a key role in peace talks with Kurdistan Workers Party (PKK) militants, who have waged a three-decade insurgency for greater Kurdish autonomy in Turkey's southeast.
He has also been a central figure in the power struggle between Erdogan and Muslim cleric Fethullah Gulen, a former Erdogan ally based in the United States whose network of followers wields influence in Turkey's police and judiciary.
Erdogan blames Gulen for orchestrating the corruption scandal as part of an attempted coup. Fidan's MIT, unlike the police, has remained firmly under Erdogan's control.