A vow and a fortune
João V promised to build a great convent if his wife produced an heir, and the wealth of Brazil allowed him to do it on a scale no Portuguese king had attempted. The palace was designed by Johann Friedrich Ludwig, a German architect working in Portugal, and the works employed tens of thousands.

