After the 7th-century Muslim conquest of the Levant, it was part of the Rashidun, Umayyad, Abbasid Seljuk and Fatimid empires. The crusader state of the County of Tripoli, founded by Raymond IV of Toulouse in 1102, encompassed most of present-day Lebanon, falling to the Mamluk Sultanate in 1289 and finally to the Ottoman Empire in 1516. With the dissolution of the Ottoman Empire, Greater Lebanon fell under French mandate in 1920, and gained independence under president Bechara El Khoury in 1943. Lebanon's history since independence has been marked by alternating periods of relative political stability and prosperity based on Beirut's position as a regional center for finance and trade, interspersed with political turmoil and armed conflict (1948 Arab–Israeli War, Lebanese Civil War 1975–1990, 2005 Cedar Revolution, 2006 Lebanon War, 2007 Lebanon conflict, 2006–08 Lebanese protests, 2008 conflict in Lebanon, 2011 Syrian Civil War spillover, and 2019–20 Lebanese protests).