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
Remarkably mild night for March
President Trump is cutting funding to cities that shelter illegal immigrants, but some are fighting back.
Not everything the royals do is worth reporting, writes Chris Ship - but their new campaign on mental health is to be thoroughly commended.