Two Derry men who were in a car in a which a gun was found have been jailed.
Martin McLoone (25), from Abercorn Road, was sentenced to eight years and Darryn Patrick McCallion (25), from Rathlin Drive, was given seven years.
Their co-accused, Mark McGuigan and Daniel John Turnbull, both from Omagh, were sentenced to 12 years and nine years respectively.
Each will serve half the term in custody and the rest on licence.
They were arrested when police found a handgun in their car outside Omagh, County Tyrone, in 2010.
During follow-up searches, police recovered a sub-machine gun, a hand gun and ammunition from a vehicle belonging to Daniel Turnbull.
Police have said they believed these items were intended to be used in a dissident republican attack.
A spokesman for the police’s serious crime branch said: “The recovery of these weapons has undoubtedly saved lives.”
McGuigan was found guilty at his trial last November and the other three pleaded guilty on January 6.
McCallion, McLoone, and Turnbull each admitted possession of a firearm with intent on October 11, 2010.
Turnbull also pleaded guilty to a further count on the same date of possessing articles likely to be used in terrorism.
The gun was found when uniformed officers stopped a Ford Fiesta car on the Gorticashel Road outside Omagh.
The court heard McGuigan was driving the car and that Turnbull was the front seat passenger.
Rear seats of the car were laid down flat, the court was told.
McCallion and McLoone were sitting in the rear of the vehicle.
During a search of the vehicle, police found a green Celtic holdall and inside it was a .38 Webley revolver, concealed inside a sock.
The weapon had been deactivated in 2003 but had been reactivated to fire .22 rifle cartridges, the court heard.