The city flourished until 1348, when it was struck by the Black Death that affected all of Europe, and about half the townsfolk died. The town submitted to the rule of Florence. Initially, some Gothic palazzi were built in the Florentine style, and many of the towers were reduced to the height of the houses. There was little subsequent development, and San Gimignano remained preserved in its medieval state until the 19th century, when its status as a touristic and artistic resort began to be recognised.