Leonardo spent long stretches in Milan under Ludovico Sforza. The castle is part of that story — especially the Sala delle Asse when it’s open to the public.
This is not the official Sforza Castle website.
Many visitors pair the castle museums with the interactive Leonardo3 exhibition near Piazza della Scala. If you buy a bundle, read what’s included (audio guide, entry windows, meeting point).