The Real Academia de Bellas Artes de San Fernando (Royal Academy of Fine Arts of San Fernando), located on the Calle de Alcalá in the heart of Madrid, currently functions as a museum and gallery. The academy was established by royal decree in 1744. About twenty years later, the enlightened monarch, Charles III purchased a palace in Madrid as the academy's new home. The building had been designed by José Benito de Churriguera for the Goyeneche family. The king commissionedDiego de Villanueva to convert the building for academic use, employing a neoclassical style in place of Churriguera's baroque design.