Police have found a stolen rifle in a wardrobe and a stash of heroin and crack cocaine worth £9,000, under a bed in a raid at a house in Bradford.
Police officers armed with a search warrant under the Firearms Act knocked on the door at 7.35pm on January the 21st last year.
Mustafa Mohammed, 22, immediately confessed that there was a gun in his wardrobe and other items in a shoe box under the bed.
Police seized an American bolt action rifle and ammunition stolen in a burglary at a golf club in Doncaster three months previously.
Prosecutor John Bull said a number of mobile phones were also recovered and texts on one of them disclosed that Mohammed had been dealing in cannabis for three months.
Mohammed said he was selling cannabis to pay for his own habit.
He told the police he was phoned at 5am on the day of the search and drug dealers turned up at his home. One put a handgun to his head and he was ordered to store the rifle and drugs.
He pleaded guilty to possession of heroin and crack cocaine with intent to supply it, possession of a firearm without a certificate and being concerned in an offer to supply cannabis.
Although Judge Rose accepted that Mohammed did not intend to use the rifle for illegal purposes, someone else did, with the manifest risk of it causing grave injury and death.
Mohammed was sentenced to 32 months.

Bradford Homes, Hospital and Schools to Benefit from £9.7m Heat Network Expansion
Former Leeds Accountant Jailed for Five More Years Over Unpaid £490,000 Confiscation Order
Manningham Housing Association Achieves LGBTQ+ Housing Pledge Pioneer Status
Police Warn Over New Trend Offering Cash to Accept Parcels
Tributes Paid to Former Buckinghamshire High Sheriff Peter Kara
Calderdale House Builder Fined £300,000 After Worker Suffers Serious Spinal Injuries
Bradford Youth Orchestra Hits the Right Notes on German Tour
Wakefield Man Charged Over A61 Crash That Killed Six People
Calls for New Bus Route to Connect Growing Milton Keynes Communities
West London ANPR Camera Plan Sparks Row Between Neighbouring Councils
Eight Men Appear in Bradford Court Over Alleged Cockfighting Offences
Man Jailed for 14 Years Over 20kg Heroin Plot in Leeds
The Golden Era
Alim OnAir
Remix Saturdays
Legal Show