Handguns were banned in 1997 on the UK mainland, but rifles and shotguns are legal. I own both. And Northern Ireland didnt ban handguns, in fact they allow concealed carry as well. Rifles/shotguns also of course legal there.
There are 930000 gun owners and 2.3 million legal firearms in the UK.