During the Renaissance, Barcelona became part of the kingdom of Spain which emerged from the union of Castile and Aragon. It was a period of economic and cultural decline, marked by social conflicts and wars (such as the Reapers' War and the War of the Spanish Succession). Barcelona was still walled, with its only expansion to the coastal district of La Barceloneta and a population of almost 100,000. Its architecture featured Renaissance and Baroque palaces and churches.