Baroque architecture in Portugal lasted about two centuries (the late seventeenth century and eighteenth century). The reigns of John V and Joseph I had increased imports of gold and diamonds, in a period called Royal Absolutism or Absolute monarchy, which allowed the Portuguese Baroque to flourish.