sentence1: 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.
sentence2: The Crusaders gave up the church as part of a treaty.