Fugitive Andrew Moran was captured in a dramatic raid at a luxury villa in the Costa Blanca, police said.
An elite team of armed officers swooped on the robber while he was relaxing by a swimming pool.
They recovered two handguns, 60 rounds of ammunition and a machete at the property.
Moran was on the most wanted list for Crimestoppers' Operation Captura campaign.
More top news
Britain's highest court will rule on whether the government requires parliament's approval to get Brexit under way.
New sentencing rules mean serious speeding offences will be met with a 'clear increase in penalty'.
Donald Trump has wasted no time making his mark on international matters as well as domestic. So how will his presidency affect the world?