A former NBA player has been charged with a gun crime after a police raid on the house of an alleged drug-dealer where he was staying uncovered heroin, meth, guns, a grenade launcher and several prostitutes.

Robert Swift, 28, who joined the Seattle Sonics straight out of high school, has been described as a ’heavily armed heroin addict’ by prosecutors in King Country, Washington.

Police raided the property last month, and seized a number of weapons from Swift’s bedroom, including a military-style grenade launcher and sawed-off shotgun.

On Thursday, Swift was charged Thursday with unlawful possession of a short-barreled shotgun, after police found seven firearms on or under his bed and a 40mm grenade launcher in a safe in his room, in addition to the sawed-off shotgun, KOMO News reports.

Swift denied involvement in dealing the drugs, but admitted to having drug paraphernelia in his bedroom, and claimed several suppressors and weapons as his property.

The fallen star has been living with the owner of the house, Trygve Bjorkstam, 54, who Swift told police is his heroin dealer, since he was kicked out of his foreclosured home in suburban Seattle last year.

Mr Bjorkstam, who faces federal drug and gun charges after running his illegal business – which included housing prostitutes and an underground bunker used as a marijuana grow and a shooting range – 100 yards from an elementary school, told police Swift was a ’good guy’ who was helping him collect a drug debt from a competitor.

Swift has been ordered held on $20,000 bail. He has no criminal history.