A judge has sentenced a Texas man to 30 years in federal prison for attempting to sell his girlfriend's 5-year-old daughter to child pornographers.

Forty-year-old Sean Michael Block of San Antonio also was sentenced Tuesday to 10 years of supervised release after his prison term.

Block was convicted in May of arranging the sale of the girl last August in exchange for an apartment and a used car.

The girl's mother, Jennifer Louis Richards, is serving a 20-year prison sentence after pleading guilty to one count of selling a child. She testified at trial that Block threatened her.

The couple were arrested after the purported buyer turned out to be an FBI informant.