 He had hired engineers to build cannons and bombs for the occasion.He also acquired scholars and imams to encourage the soldiers.In accordance with Shariah (Muslim Holy Law), Mehmed gave the Byzantine emperor Constantine Palaeologus (1449–1453) three chances to surrender the city.