ROCHESTER, N.Y. -- A former NBA player is heading to prison after being convicted of federal drug and gun charges.

A judge sentenced Arthur "Art" Long on Tuesday to nearly seven years behind bars. The 43-year-old was convicted of operating his home as a hub for dealing marijuana and ecstasy. Prosecutors said he also had two firearms.

Art Long goes for a rebound while playing for the 76ers in 2002. Jesse D. Garrabrant/NBAE/Getty Images

Long was a star player at East High School in Rochester, New York, and also at the University of Cincinnati. He was arrested in 2013 after police searched his vehicle and his home in the Rochester suburb of Chili.

Investigators found ecstasy, marijuana, an AK-47 and a stolen .45-caliber handgun, along with drug-packaging materials.

Long played for the NBA's Sacramento Kings, Seattle SuperSonics, Philadelphia 76ers and Toronto Raptors between 2000 and 2003.