In the chaos and aftermath of the Portuguese Liberal Wars, some of the private art collections of ruined noble families were expropriated or found their way on to the market. Of particular significance was the painting collection of the disgraced former queen, the late Carlota Joaquina, which was acquired by the Portuguese government and given to the Academia in 1859. The former king Ferdinand II of Portugal, a connoisseur of fine arts, took an interest in the budding organization, secured its royal sponsorship (it was renamed Academia "Real" de Belas Artes in 1862) and, in 1865-67, Ferdinand II made a series of substantial cash donations, giving the Galeria an independent acquisition budget, enabling it to purchase pieces on the art market.