The structure was designed by the court architect Koca Kasım Ağa, but the construction works began under the supervision of another court architect, Mustafa Ağa, in the last months of 1660; following Istanbul's Great Fire of 1660 that began on 24 July 1660 and, lasting for slightly more than two days (circa 49 hours, according to the chronicles of Abdi Pasha), destroyed many neighbourhoods in the city. A major rebuilding and redevelopment effort started in the city following the fire, which included the resumption of the New Mosque's construction works in 1660 (halted between 1603 and 1660, the construction of the mosque was ultimately completed between 1660 and 1665) and the beginning of the Spice Bazaar's construction in the same year (all buildings in the New Mosque külliye, including the Spice Bazaar, were commissioned by Sultana Turhan Hatice, the Valide Sultan (Queen Mother) of Sultan Mehmed IV.)