Towards the end of the 14th century AD, Montelupo Fiorentino (who never had the name of Malborghetto, a real romantic invention) became a "walled village" of the Florentine countryside. The walls were built in 1348 (the year of the Black Death), and the Statute of the Powers dates back to 1414.