The Sultanahmet Camii (The Blue/Sultan Ahmed Mosque) was built on the primary site of the Great Palace of Constantinople between 1609 and 1616 during the rule of Ahmed I.