o te la fan?
A peace deal has been agreed between Armenia and Azerbaijan, two former Soviet Union republics in the Caucasus region.
It brings to an end weeks of fierce fighting in which thousands of people were killed and many more displaced.
At the heart of the conflict was the Nagorno-Karabakh region. It is recognised as part of Azerbaijan, but it is controlled by ethnic Armenians.
The countries fought a bloody war over the region in the late 1980s and early 1990s, and it has been the trigger for violent clashes in the years since.
Nagorno-Karabakh is part of Azerbaijan, but its population is majority Armenian. As the Soviet Union saw increasing tensions in its constituent republics in the 1980s, Nagorno-Karabakh voted to become part of Armenia - sparking a war which stopped with a ceasefire in 1994.
Since then, Nagorno-Karabakh has remained part of Azerbaijan but is controlled by separatist ethnic Armenians backed by the Armenian government. Until recently, negotiations mediated by international powers had failed to deliver a peace agreement.
Armenia is majority Christian while Azerbaijan is majority Muslim. Turkey has close ties to Azerbaijan, while Russia is allied with Armenia - although it also has good relations with Azerbaijan.
The Caucasus is a strategically important mountainous region in south-east Europe. For centuries, different powers in the region - both Christian and Muslim - have vied for control there.
Modern-day Armenia and Azerbaijan became part of the Soviet Union when it formed in the 1920s. Nagorno-Karabakh was an ethnic-majority Armenian region, but the Soviets gave control over the area to Azerbaijani authorities.
It was only as the Soviet Union began to collapse in the late 1980s that Nagorno-Karabakh's regional parliament officially voted to become part of Armenia.
Azerbaijan sought to suppress the separatist movement, while Armenia backed it. This led to ethnic clashes, and - after Armenia and Azerbaijan declared independence from Moscow - a full-scale war.
Tens of thousands died and up to a million were displaced amid reports of ethnic cleansing and massacres committed by both sides. Most of those displaced in the war were Azerbaijanis.
Armenian forces gained control of Nagorno-Karabakh before a Russian-brokered ceasefire was declared in 1994. After that deal, Nagorno-Karabakh remained part of Azerbaijan, but since then has mostly been governed by a separatist, self-declared republic, run by ethnic Armenians and backed by the Armenian government.
It also established the Nagorno-Karabakh Line of Contact, separating Armenian and Azerbaijan forces.
Peace talks have taken place since then mediated by the Organization for Security and Co-operation in Europe (OSCE) Minsk Group - a body set up in 1992 and chaired by France, Russia and the United States.
But clashes continued, and a serious flare-up in 2016 saw the deaths of dozens of troops on both sides.
The conflict is further complicated by geopolitics. Nato member-state Turkey was the first nation to recognise Azerbaijan's independence in 1991. Former Azeri President Heydar Aliyev once described the two as "one nation with two states". Both share a Turkic culture and populations.
Moreover, Turkey has no official relations with Armenia. In 1993 Turkey shut its border with Armenia in support of Azerbaijan during the war over Nagorno-Karabakh.
Armenia meanwhile has good relations with Russia. There is a Russian military base in Armenia, and both are members of the Collective Security Treaty Organization (CSTO) military alliance. However, President Vladimir Putin also has good relations with Azerbaijan.
In 2018, Armenia underwent a peaceful revolution, sweeping long-time ruler Serzh Sargysan from power. Protest leader Nikol Pashinyan became the prime minister after free elections that year.
Mr Pashinyan agreed with Azerbaijan's President Ilham Aliyev to de-escalate tensions and set up the first military hotline between the two countries. In 2019, both nations issued a statement declaring the need for "taking concrete measures to prepare the populations for peace".
But this year saw months of escalating tensions and heavy fighting over the region. It is unclear which nation started the most recent violence, which began in July and left casualties on both sides.
Fighting came to an end in November when both sides agreed to sign a Russian-brokered peace deal. Under its terms, Azerbaijan will hold on to several areas that it gained control of during the conflict and Armenia will withdraw troops from some adjacent areas.