A federal appeals court Friday reversed the conviction of a North Carolina man whose lawyer dozed through parts of his trial.

A federal jury in Charlotte, N.C., found Nicholas Ragin guilty of participating in prostitution and drug rings in 2006. He was sentenced to 30 years in prison.

Like many inmates, he filed a petition to have his sentence...