U.S. President Donald Trump announced Friday that he will call his Turkish counterpart Recep Tayyip Erdoğan Friday to discuss bringing peace to the Middle East, which came two days after a crucial meeting between Turkey, Russia and Iran on Syria.

Trump made the announcement through Twitter at 7.04 a.m. Washington time (1204GMT).

Trump railed during his campaign about the ongoing conflicts in Afghanistan and Iraq, but has boasted about progress in recent months under his watch.

Trump said in a series of tweets that he'll "get it all done, but what a mistake, in lives and dollars to be there in the first place!"

It's unclear exactly which countries he's referring to, but Trump has cited $6 trillion in the past to assess U.S. spending on conflicts in the Middle East.

Fact checkers have found that number to be only partially accurate since it falls on the high end of analysts' estimates and includes future medical care and disability benefits and nation-building costs.

Turkey opposed the U.S. invasion of Iraq in 2003, a decision that raised tensions between the nations. However, recent events have strained the relationship between the two NATO allies to levels not seen in decades, as Ankara appears ever friendlier with Russia.

The governments strongly disagree over the path ahead in Syria, with the U.S. backing the PKK terrorist group's Syrian offshoot the Democratic Union Party (PYD) and its armed wing the People's Protection Units (YPG) in the war against Daesh, a position that has angered Ankara.

Turkey also wants Fetullah Gülen, the leader of the Gülenist Terror Group (FETÖ) extradited on charges of related to July 15 coup attempt, sham trials and infiltration into state institutions.

Meanwhile, a trial is ongoing against Turkish-Iranian gold trader Reza Zarrab and one of state-run lender Halkbank's deputy general managers, Mehmet Hakan Atilla, both accused of skirting sanctions on Iran in a gold-for-oil deal. Turkish officials argue that the case is politically motivated and based on illegally gathered and false evidence gathered by FETÖ-linked police officers and prosecutors.