The Taliban said Wednesday they were close to an agreement with U.S. officials on an Afghanistan peace deal that could bring 14,000 U.S. troops home.

“We hope to have good news soon for our Muslim, independence-seeking nation.” Suhail Shaheen, a spokesman for the Taliban’s political office in Doha, told Reuters.

The United States and the Taliban have been negotiating for months over a deal. The ninth round of talks began last week in Doha, the capital of Qatar. Even a tentative agreement would be momentous for the U.S. and would mark the ending of the country’s longest war, which has stretched on for nearly two decades. In all, the war has taken the lives of tens of thousands of Afghans as well as 3,500 American and coalition forces. More than 20,000 American soldiers have been injured. In 2019, 3,812 civilians were killed or wounded, including 1,207 children, according to the United Nations.

US AND TALIBAN COULD BE FORCED INTO AWKWARD ALLIANCE TO TAKE OUT ISIS IN AFGHANISTAN

Special envoy for Afghanistan reconciliation Zalmay Khalilzad has been negotiating with the Taliban. A State Department spokesperson told Fox News that while there is progress being made, the final details still need to be ironed out.

“Special Representative Khalilzad and his team have made progress on advancing a peace process, and negotiations are proceeding. We do not have an estimate for how long it may take to close out the remaining issues,” a spokesperson said.

GRAHAM WARNS WITHDRAWING FROM AFGHANISTAN WILL LEAD TO 'ANOTHER 9/11'

However, a senior security official in Kabul told Reuters that the Taliban and U.S. officials had agreed on a timeline of about 14 to 24 months for the withdrawal of U.S. forces. The official said details would be shared with the Afghan government before being made public.

President Trump has signaled his desire multiple times in the past to end the war, which he has described as “endless” and a waste of money and resources. He also called the war “ridiculous” and said that U.S. troops have been acting as a “police force.” Yet he referred to Afghanistan as “a dangerous place” that seems “to be the Harvard University of terrorism.”

It remained unknown whether the withdrawal of troops actually would bring peace to the region. The uncertainty was causing unease inside the Afghan government, which for the most part has been on the sidelines during negotiations.

“We're well aware of the history of the Taliban, including the Haqqani network and its complicated history with Al Qaeda, which is exactly why any deal, if one is reached, will be so stringently monitored and verified,” a State Department spokesperson said. “Everyone should clearly understand that this administration will do whatever is necessary to protect the American people. We have the will and the capacity to enforce the terms of any agreement and to respond to violations. We will never give up our ability to protect American interests. And this includes not only the outstanding armed forces fielded by the United States and our partners, but the full array of U.S. and partner economic, diplomatic, and political pressure.”

The Taliban now control more territory than it has since 2001, when the U.S. invaded Afghanistan following the 9/11 terror attacks.

CLICK HERE FOR THE FOX NEWS APP

Separately, Russia said Wednesday it is ready to be a guarantor of a peace deal struck by the United States and the Taliban.

“The Russian side is ready to be the third party at the signing or a guarantor of how the deal between the United States and the Taliban movement is implemented,” ministry spokeswoman Mariarova told TASS news agency.

Fox News' Rich Edson contributed to this report.