Its opponents were the British Army, the Royal Ulster Constabulary, and loyalist paramilitary groups like the Ulster Volunteers. The PIRA aimed to remove Northern Ireland from the United Kingdom and create a socialist republic within a united Ireland. It tried to do this through armed attacks and explosions and by using political persuasion.