The city was affected by the Baroque in the 17th and 18th centuries, and hosted numerous formidable artists, architects and painters of that period, such as Caravaggio and Francesco Hayez, which several important works are hosted in Brera Academy.