The town continued to grow steadily in the 17th century, benefiting from the general prosperity of the Golden Age of the Spanish Empire. In 1615, a new jail was inaugurated, and 1621 saw the construction of a third parish temple with a tower that would be completed by 1685. Religious buildings were created often during this period; the Convent of the Poor Capuchins of Saint Joseph was founded and the construction of the Parish Church of Our Lady of the Assumption and the Temple of Our Lady of the Rosary began during this time.