The church became a seminary for Islam after 1187.
Built in approximately 1140 in a spare, unornamented style that combines Frankish Romanesque with local traditions, the church was turned into an Islamic seminary after 1187, when the Crusaders lost Jerusalem.