The Baalbek and Beqaa Valley and Jabal Amel was ruled intermittently by various Shia feudal families, especially the Al Ali Alsagheer in Jabal Amel that remained in power until 1865 when Ottomans took direct ruling of the region. Youssef Bey Karam, a Lebanese nationalist played an influential role in Lebanon's independence during this era.