A 31-year-old Capitol Heights man was sentenced Friday to serve 12 1/2 years in prison for sex trafficking a teenage girl and for transporting a teenager to engage in prostitution, federal prosecutors said.

Dennis Smith received the 150-month sentence followed by 10 years of supervised release from Chief U.S. District Deborah K. Chasanow in U.S. District Court in Greenbelt, according to U.S. Attorney’s Office officials.

Smith pleaded guilty to charges he took a 16-year-old girl from Maryland to a Richmond hotel in October 2011, where she engaged in sex for money, prosecutors said. The girlgave the money to Smith, officials said.