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
Donald Trump's revised immigration ban targets the same seven Muslim majority countries listed in his original executive order, sources say.
People convicted of cruelty against animals should face much harsher prison sentences, some charities have claimed.
Theresa May has been warned by EU ministers that Britain's Brexit negotiators must be prepared to compromise or risk a "crash landing".