A federal judge in Greenbelt on Wednesday sentenced a 60-year-old counselor to 11 and a half years in prison for selling heroin from a women’s shelter at D.C. General Hospital.

Howard Ray Barnes, who worked at the shelter, had pleaded guilty to distributing heroin, possession with intent to distribute cocaine and a weapons charge, federal prosecutors said. Police authorities used sources to buy heroin from Barnes from October 2009 to February 2010. Two of the deals were at the shelter’s parking lot and two were at Barnes’ house.

After searching his home in March, authorities found 10.8 grams of heroin, about 3.4 grams of crack cocaine, two loaded revolvers, a pistol and over 200 rounds of ammunition, court papers say. Police arrested Barnes that day as he arrived for work. When he was searched, police found plastic baggies with 18 grams of heroin in them.