 The birth of his first daughter the Infanta Barbara of Portugal, prompted construction of the palace to begin.The palace was conveniently located near royal hunting preserves, and was usually a secondary residence for the royal family.The construction was funded from the proceeds of slave labour in Brazil, mining gold and then diamonds in vast quantities.