The mosque was designed by architect Mehmet Aga, whose unfortunate predecessor was found wanting and executed. Sultan Ahmet was so anxious for his magnificent creation to be completed that he often assisted in the work. Sadly, he died just a year after the completion of his masterpiece, at the age of 27. He is buried outside the mosque with his wife and three sons.