Buenavista Palace, also known as the palace of the counts of Buenavista, was built in the first half of the sixteenth century for Diego de Cazalla, on the ruins of a Nasrid palace. It is a splendid example of Andalusian architecture of its age, blending Renaissance and Mudéjar elements. Accounts differ a little on the exact years of construction, but all place it in that first half of the century. It stayed a noble family residence until the late nineteenth century, and then its fortunes took some surprising turns. Over time it served as a tenement, a school, a furniture factory, a carpenter's shop and even a hospital. In 1939 it was declared a National Monument. Then, in 1946, the national government leased it to house the Provincial Fine Arts Museum, which opened in 1961 and stayed until 1997. That year the Regional Government of Andalusia acquired the palace to become the home of the future Museo Picasso Málaga. The palace suited the project well. It stood in the middle of the historic center, and it was an old, secular building, which was Picasso's own express wish for a home for his collection.