Another King to improve the Palace was John V, who invested great sums – derived from the gold mines in colonial Brazil – to enlarge and embellish the Ribeira Palace. The original manueline chapel was turned into a magnificent baroque church, and the Palace gained another wing for the Queen, parallel to the previous one, commissioned to the Italian Antonio Cannevari. Later in the century, King Joseph I built a Royal Opera House by the Palace, designed by the Italian Giuseppe Bibiena.