Vice President Mike Pence announced at a press conference Thursday that the United States and Turkey had reached a 120-hour ceasefire agreement in Syria.

Pence announced the news after meeting for more than five hours in Turkey with President Recep Tayyip Erdoğan and Turkish authorities.

He also announced that Turkey would pause its military invasion to allow the withdrawal of YPG forces from the safe zone.

The safe zone includes a 20-mile-wide area south of the Turkish border in Syria.

Once the withdrawal of the YPG forces was concluded, Pence said, Turkey would agree to a permanent ceasefire.

Turkey also agreed not to take military action against the Kobani community in Syria.

Pence said that the United States and Turkey had recommitted to their agreement to coordinate on the detainment of Islamic State (ISIS) fighters.

“I spoke with President Trump just a few moments ago, and I know the president is very grateful for President Erdogan’s willingness to step forward to enact this ceasefire and give an opportunity for a peaceful solution of this conflict that commenced one week ago,” Pence stated.

Pence thanked Americans for their patience and support in the wake of the Turkish attacks.

“I believe that their prayers, the strong leadership that President Trump provided to this moment, and the cooperation with President Erdoğan of Turkey has made this possible,” he concluded.