Christian settlers from the West set about rebuilding the principal shrines associated with the life of Christ. The Church of the Holy Sepulchre was ambitiously rebuilt as a great Romanesque church, and Muslim shrines on the Temple Mount (the Dome of the Rock and the al-Aqsa Mosque) were converted for Christian purposes. It is during this period of Frankish occupation that the Military Orders of the Knights Hospitaller and the Knights Templar have their beginnings. Both grew out of the need to protect and care for the great influx of pilgrims travelling to Jerusalem in the 12th century.