The unnamed 43-year-old received a bullet to his backside after ignoring orders to stop his violent assault in Albox, near Almeria.
He remains under police guard at La Inmaculada Hopsital in Huercal-Overa, where his condition has been described as ‘serious’.
His alleged victim, also a Brit, was unharmed thanks to the rapid police response.
According to local reports, the man had breached a restraining order to find his ex and try to harm her.
A Guardia Civil spokesman said: “He had managed to get into his ex-partner’s home and was waiting for her when she returned.
“He had a knife in his hand and was trying to attack her when officers arrived. They used their weapons after he ignored their orders to stop.
“He will be questioned when he is well enough but at the moment saving his life has to be the primary concern.”
A local source who witnessed the incident told the Daily Star: “Officers fired into the air to warn him off before having to shoot him.”
He was shot at four times, with at least one bullet landing in his backside, which required an operation to remove.
- ‘DRUG HILLS’: British expats in upmarket urbanisation on Spain’s Costa del Sol wake up to ‘disgraceful’ graffiti - 20 Mar, 2019 @ 11:47
- Westley Capper arrives at Malaga court on last day of Agnese Klavina trial after damning CCTV footage shown to court - 20 Mar, 2019 @ 11:20
- Dead body dumped on Spain’s Costa del Sol was of young foreigner, 23, and had at least 10 gunshot wounds - 19 Mar, 2019 @ 10:59
- Guardia Civil cop who killed three people after causing pile up on Costa del Sol while driving on cocaine ordered to pay €1.4 million in compensation - 18 Mar, 2019 @ 16:52
- SACRE BLOW! French smuggling gang which moved cocaine and hashish between Morocco, Malaga and Europe busted in joint operation - 18 Mar, 2019 @ 16:12
- Residents feel shaking as FOUR earthquakes rock Malaga - 18 Mar, 2019 @ 15:33
- Rain and cold wind forecast for Spain’s Malaga this week - 18 Mar, 2019 @ 15:16
- WATCH: Manhunt launched after pharmacy robbed at GUNPOINT on Spain’s Costa del Sol - 18 Mar, 2019 @ 12:45
- Dead body found dumped with ‘several gunshot wounds’ on Spain’s Costa del Sol - 18 Mar, 2019 @ 12:31
- British expats facing 12 years in prison and €84,000 in compensation costs as trial over missing Agnese Klavina begins in Malaga TODAY - 18 Mar, 2019 @ 11:22