 In the 15th century the area became a feud of the Sforza which ordered, during the latter half of the century, the construction of the Naviglio Martesana, whose completion increased Cernusco's economic importance.Cernusco was then given to the Visconti Marliani family and, in 1499, to the Trivulzio family.After two centuries of continuous changes of property due to lack of heirs in the reigning families, in 1689 Cernusco became a property of the Spanish Duke Gabriele Serbelloni of Gorgonzola, under whose domination the town endured a difficult period characterized by power abuse.