Four people have been convicted of attempting to smuggle drugs and mobile phones into Garth Prison.
Bernard Jolly, 42, of Princess Street, Swinton, Kevin McLoughlin, 55, of Croft Close, Kirkby Stephen and Dean Cleworth, 33, of no fixed address, received custodial sentences of 51 weeks, 49 weeks and 49 weeks respectively.
They had admitted conspiracy to supply drugs and prohibited items into HMP Garth.
Faye Burke, 25, of Churchill Street, Stockport, had earlier pleaded guilty and received a 29 week prison sentence suspended for two years.
The sentencing comes after two separate attempts to give packages to prisoner Dean Cleworth at the A&E Department at Chorley Hospital in September 2012.
On the first occasion, Jolly and McLoughlin left a package in a toilet for Cleworth, who had been taken to hospital after he claimed to be ill.
Cleworth was however taken to a different toilet and the package was recovered by Jolly and McLoughlin before they left.
On the second occasion, as Cleworth arrived at the hospital, McLoughlin was brought in by an ambulance claiming to have chest pains.
Burke attended shortly after and told staff her father had been brought in with chest pains.
Once on the ward, Burke put a package in a toilet.
Cleworth then picked up 150 grams of cannabis resin, 25 subutex tablets and two mobile phones.
Staff at the hospital raised the alarm when McLoughlin could not be found.
Cleworth was searched on his return to prison and found to have the drugs and mobile phones on him.
DC Martin Hulme from Chorley CID said: “We estimate that the drugs and phones that were recovered on Cleworth would have had a value of around £9,000 inside the prison.
“These offenders have used the services of the NHS and the North West Ambulance Service with no regard whatsoever for the needs of genuine patients.”