The rating agency said Spain's economy had shown signs of resilience this year, but the country was still burdened by high unemployment, tight credit, heavy private-sector debt loads and prospects that its main trading partners would also stumble.

It cut its long term rating to AA- from AA. The outlook on the rating is "negative", which implies it could be lowered again at some point.