Even before attaining EU membership, all candidate countries' governments had to start adopting measures aimed at meeting the Maastricht criteria within several years, because the new members had committed themselves in their accession treaties to adopting the euro. The most important measures required cutting budget deficits, often at the cost of lowering public expenditures.