The Sforza Castle in Milan has a long history, originally constructed in the 14th century under the Visconti family who ruled Milan. It later became the residence of the Sforza family in the 15th century when they took control of Milan. Over subsequent centuries, the castle was fought over by foreign powers including the French and Austrians, and saw periods of decline. However, it remained an important symbol of Milan's identity and independence. In the late 19th century, restoration work began to repair damage and renovations were made to preserve the castle.