With its high literacy rate and traditional mercantile culture, Lebanon has traditionally been an important commercial hub for the Middle East.
It has also often been at the centre of Middle Eastern conflicts, despite its small size, because of its borders with Syria and Israel and its uniquely complex communal make-up.
Shia Muslims, Sunni Muslims, Christians and Druze are the main population groups in a country that has been a refuge for the region's minorities for centuries.
The Lebanese Republic
Population 6 million
Area 10,452 sq km (4,036 sq miles)
Major language Arabic
Major religions Islam, Christianity
Life expectancy 78 years (men), 81 years (women)
President: Michel Aoun
Michel Aoun was elected by parliament in October 2016, ending a political stalemate which had left the country without a head of state since May 2014.
He is the founder of the mainly Maronite Christian political party, the Free Patriotic Movement (FPM). He was army commander-in-chief from 1984 until 1989 and was appointed prime minister of the interim military government in 1988.
He launched an unsuccessful "liberation war" against the presence of Syrian forces in 1989 and fled to France in 1990. When Syrian troops left in 2005, he returned to form an alliance with pro-Syrian parties.
Prime minister (resigned): Hassan Diab
The academic and former education minister Hassan Diab took office in January 2020 on a promise of tackling the country's financial problems with a technocratic cabinet.
His predecessor Saad Hariri had resigned in October following mass protests against economic stagnation and corruption.
But Mr Diab proved unable to pull Lebanon out of crisis before his government was overwhelmed by the impact of the Covid-19 lockdown.
This was followed by rioting after a massive chemical explosion in Beirut port, prompting his resignation in August.
The ambassador to Germany, Mustapha Adib, was charged with forming a new technocratic government, but retuned his commission in September after irreconcilable differences over the distribution of ministries.
Lebanon's broadcasting scene is developed, lively and diverse, and reflects the country's pluralism and divisions.
It was the first Arab country to permit private radio and TV. These outlets dominate the broadcasting scene and air some of the most outspoken TV talk shows in the region.
News websites have emerged as a key information source.
Some key dates in Lebanon's history:
1516-1918 - Lebanon is part of the Ottoman Empire.
1920 - The League of Nations grants the mandate for Lebanon and Syria to France, which creates the State of Greater Lebanon out of the provinces of Mount Lebanon, north Lebanon, south Lebanon and the Bekaa.
1926 - Lebanese Representative Council approves a constitution and the unified Lebanese Republic under the French mandate is declared.
1944 - France agrees to transfer power to the Lebanese government on 1 January.
1975-1990 - Lebanese civil war
1992 - After the first elections since 1972, wealthy businessman Rafik Hariri becomes prime minister.
2000 - Israel pulls out of south Lebanon
2005 - Former prime minister Rafik Hariri is killed by a car bomb in Beirut, sparking anti-Syrian rallies and a political crisis.