After the rupture of the wars with Portugal and Catalonia, the Junta changed its attitude, this time due to the exhaustion of Galicia, now involved not just in naval or oversea operations, but also in an exhausting war with the Portuguese, war which produced thousands of casualties and refugees and was heavily disturbing to the local economy and commerce. So, in the second half of the 17th century the Junta frequently denied or considerably reduced the initial petitions of the monarch, and though the tension didn't rise to the levels experienced in Portugal or Catalonia, there were frequent urban mutinies and some voices even asked for the secession of the Kingdom of Galicia.