The Spanish flag flies from the national central bank of Spain. Standard & Poor's cut its rating on the country's debt for the second time in a month.
NEW YORK (CNNMoney) -- Standard & Poor's downgraded Spain's credit rating Friday, blaming economic malaise and dim prospects.
S&P lowered Spain's long-term rating to AA- with a negative outlook, citing risks to economic growth and the banking sector.
"Despite signs of resilience in economic performance during 2011, we see heightened risks to Spain's growth prospects due to high unemployment, tighter financial conditions, the still high level of private sector debt, and the likely economic slowdown in Spain's main trading partners," the rating agency said in a statement.
Looking ahead, S&P highlighted ongoing challenges facing the country. "The financial profile of the Spanish banking system will, in our opinion, weaken further, with the stock of problematic assets rising further," said S&P analysts.
The rating agency said that Spain is being held back by "uncertain growth prospects in light of the private sector's need to access fresh external financing to roll over high levels of external debt amid rising costs and a challenging external environment."
This isn't the first time S&P has gone after Spain this week. On Tuesday, the rating agency announced negative rating actions on 15 Spanish financial institutions, including prominent banks SpanishBanco Santander S.A. and Banco Bilbao Vizcaya Argentaria S.A.
Banco Santander's () stock has plunged more than 20% year-to-date, while shares of Banco Bilbao Vizcaya Argentaria S.A. ( ) are down 11% from the start of the year.
S&P mentioned the Spanish economy's "dimming growth prospects" when it lowered credit ratings on 10 of the banks.
Spain is one of the so-called "PIIGS", a group of fiscally distressed nations that include Portugal, Italy, Ireland and Greece.
|What we want Apple to unveil at WWDC|
|Millennials squeezed out of buying a home|
|7 traits the rich have in common|
|Big Data knows you're sick, tired and depressed|
|Your car is a giant computer - and it can be hacked|
|Overnight Avg Rate||Latest||Change||Last Week|
|30 yr fixed||3.91%||3.84%|
|15 yr fixed||3.10%||3.04%|
|30 yr refi||3.90%||3.84%|
|15 yr refi||3.09%||3.08%|
Today's featured rates: