A protest in Madrid over spending cuts and Spain's sky-high unemployment turned violent, with demonstrators and riot police clashing for the third time in a week.
Thousands of Spaniards marched close to the parliament building on Saturday amid anger over austerity measures and a prolonged recession.
They protested peacefully for hours, but police with batons marched in before midnight to move on groups who were staying without permission to demonstrate.
Some responded by throwing bottles and rocks.
One press photographer at the scene reported seeing police severely beating a protester who was taken away in an ambulance.
Spanish state TV said two people were hurt and 12 detained near the parliament building.
Television footage showed officers charging protesters, but the violence did not appear as severe as a protest earlier in the week when 38 were arrested and 64 injured.
Earlier, crowds let off ear-splitting whistles and yelled "Fire them, fire them!" - referring to the conservative government of Prime Minister Mariano Rajoy.
On Friday, Mr Rajoy's administration presented a 2013 draft budget that will cut overall spending by €40bn (£32bn) freezing the salaries of public workers, cutting spending for unemployment benefits and even reducing spending for Spain's royal family next year by 4%.
In Portugal, tens of thousands took to the streets of Lisbon on Saturday afternoon to peacefully protest against even deeper austerity cutbacks than Spain has imposed.