Warring parties in Yemen have agreed to a ceasefire for the port city of Hudaydah, principal lifeline for two-thirds of the country.
They reached agreement at talks in Sweden brokered by the United Nations.
UN Secretary General Antonio Guterres said he hoped this would be the starting point to bring nearly four years of civil war to a close.
Fighting has killed thousands, while the world's worst humanitarian crisis in recent times has afflicted millions.
Leaders of the delegations from the Yemeni government and the Houthi rebels, who control much of the country, shook hands after the ceasefire was agreed on Thursday.
All forces from the Houthi rebels and from the Yemeni government alliance fighting them will withdraw from Hudaydah in the coming days, and will be replaced by what the UN called local forces.
Mr Guterres said the ceasefire would then take place for the whole of the Hudaydah governorate.
The UN would then play a "leading role" in monitoring the Red Sea port, and would help distribute aid to civilians, he added.
A "mutual understanding" was announced on the nation's third city of Taiz, where these has been intense fighting, although few details were released.
There is no agreement yet on a truce for the rest of the country, including the capital Sanaa, which is controlled by the Houthis.
The Stockholm talks were the first in two years between the Houthis and the Yemeni government, which has had the backing of a Saudi-led coalition since 2015.
Mr Guterres said he hoped for a deal within a week on reopening Sanaa airport and a new round of talks would take place at the end of January on other issues.
Yemen has been devastated by a conflict that escalated in early 2015, when the Houthis seized control of much of the west of the country and forced President Abdrabbuh Mansour Hadi to flee abroad.
Alarmed by the rise of a group they saw as an Iranian proxy, the UAE, Saudi Arabia and seven other Arab states intervened in an attempt to restore the government.
At least 6660 civilians have been killed and 10,560 injured in the fighting, according to the United Nations. Thousands more civilians have died from preventable causes, including malnutrition, disease and poor health.