Input (grade 5): During the rule of Ahmed I, Sultan Ahmed mosque was built between 1609 and 1616 CE.
Output (grade 4): It was built between 1609 and 1616, when Ahmed I ruled the Ottoman Empire.