In the early 20th century he was elected to the local government council, and shortly after he was appointed as Mayor of
Hama. Keilani immediately worked on projects that served the city well, including widening roads and building bridges. In 1908 he was elected to the Parliament of the
Ottoman Empire (Majles al-Maboothan) representing the two sister cities of
Homs and
Hama, with Sayed Abdul Hameed al-Ziharawi, a counterpart form
Homs. The parliament convened in
Istanbul, the capital of the
Ottoman Empire. There, Keilani had the chance to befriend famous Arab leaders and thinkers, who later led the Arab independence movements. Important figures such as prince
Shakeeb Arsalan and prince
Prince Faisal al-Hashemi were among these personalities. At the time of his return to his home town, Syria was undergoing major changes. In 1917 the Turks withdrew from the Arab land in face of the advancing Arabian troops of
Prince Faisal al-Hashemi. Shortly after, in 1919 Keilani was elected to the
Syrian National Congress, the first Syrian parliament, as a deputy from
Hama. On March 10, 1920, this constitutional assembly drafted the first Syrian/Arab constitution. Upon dissolving the Congress by the French in 1920, Keilani returned to his hometown and worked to weaken the French mandate. In 1925 he was one of the leaders of the
Hama revolution in which many of his cousins and their retainers had taken part. In October 1927, Keilani was among of the 15 top Syrian/Lebanese figures who convened in
Beirut to discuss the situation of the country. The famous
National Bloc was born out of that convention and was headed by one of Keilani's dearest friends,
Hashem al-Atassi. This political group was committed to a free democratic and independent Syria, and quickly became the only negotiator for the Syrian side in the struggle for independence. Keilani was elected for the second time to the national assembly in April 1928 as a deputy from Hama, winning on the ticket of the newly formed National Bloc. In February 1928, Keilani was chosen by Sheikh
Taj al-Din al-Hasani to head the ministry of agriculture and trade in his newly formed government. Keilani accepted the post as the only National Bloc member in that cabinet. Some speculated that this was a ploy to distance Keilani from
Hama where he had a growing base of popularity and influence and bring him closer to Damascus under the eyes of the French. In December 1931 he resigned in face of increasing difficulties his department was facing. He returned to Hama. That same year he was invited to
Jerusalem to participate in the Islamic conference that was led by Shareef Hussein. In this conference, an agreement was established on issues of Islamic and Arabic unity, independence from French and British influence, and the support for the Palestinian cause. In addition to his political roles, he was an Islamic scholar who never ceased to teach and lead prayers in the local mosque (Ibrahim al-Keilani) in which his ancestors traditionally had preached and lead the local community. He briefly headed the Qaderiyah sect after the death of its leader Sayed Abdul-Jabbar Keilani, and was also elected to lead the committee that organized the well-known Hama Spring Celebrations. Keilani died in Hama in 1948 and was survived by his children and grandchildren. ==Sources==