Turkey's outgoing PM and president-elect Recep Tayyip Erdogan Wednesday extended an olive branch to the opponents in his farewell address at AK Party's first extraordinary congress to elect the new party chairman.

"We understand you, your historical background, lifestyle, values, demands and desires very well," he said adding "I extend my hand again on behalf of my party, my government and the movement I am the leader of," he said.

Erdogan in his address to the nation explained that he wanted the public to understand the trials and hardships the party has gone through to reach this point in history:  

"We want you to understand what prohibitions, restrictions and threats we have surmounted to come to this day. We want you to see and understand what kind of insults, exclusions and tyrannies we were exposed to."

Erdogan reiterated that Davutoglu - the incoming prime minister - will not be a pawn as many newspapers write.

"The presidency, our new government and political institution will continue a determined and courageous struggle against treachery in a parallel state and bureaucratic tutelage at the same time," Erdogan said, and added that a parallel state nestled within a state, gangs and mafia-like organizations will never be tolerated in the 'new Turkey.'

Erdogan vowed to work with the new government in harmony and cooperation as they have when they worked with the outgoing President Abdullah Gul. He stressed that he would remain in close contact with his party within the restraints of the law and the constitution.

Foreign Minister Ahmet Davutoglu is expected to be elected chairman of the ruling Justice and Development (AK) Party at its ongoing extraordinary congress Wednesday in Ankara. He is expected to be designated as the prime minister on August 28, after the president-elect Erdogan is sworn in on the same day.

Prime Minister and president-elect Recep Tayyip Erdogan's government has called the December anti-graft probe, which targeted several government ministers, a "coup attempt" by a "parallel structure."

He claims the Gulen movement, allegedly led by U.S.-based preacher Fethullah Gulen, had infiltrated the Turkish state and attempted to overthrow the government.