 The crisis affecting Spain during the late 16th and early 17th centuries did not affect construction in Almagro; the Franciscans built during this time the Convent of Santa Catalina.The Augustinians, Jesuits, and Hospitalers established themselves here, and the followers of Juan Francisco Gaona y Portocarrero, Conde de Valdeparaíso, built his palace here.Almagro flourished due to the patronage both of Philip V of Spain and of Juan Francisco Gaona y Portocarrero, Conde de Valdeparaíso, who served in Philip's government as head of the Exchequer.