The Omar Mosque was built in 1860 in honor of Caliph Omar Ibn al-Khattab, who in the 7th century took control over the area by receiving the key of Jerusalem from Patriarch Sophronius and issued the Omari Convention which is still effective up to this day.