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.