BOSTON (AP) — A man from Haiti who used his two houses in Massachusetts for sex trafficking has been sentenced to nearly 22 years in prison, federal prosecutors said.

Reginald Abraham, 51, was sentenced Tuesday in federal court in Boston to 21 years and 10 months behind bars with 15 years of supervised release, prosecutors said in a statement.

Abraham used social media to find his four victims and convince them to live with him, authorities said. He picked up the victims, who were all from Maine, and drove them to his house in Malden and later to his house in Dracut.

He forced the women into prostitution through physical violence, rape, and giving and withholding drugs, including heroin and crack cocaine, the statement said. He trafficked the victims from 2012 to 2016.

Abraham was convicted by a jury in July of sex trafficking by force, fraud or coercion. He has been in federal custody since he was arrested in September 2017.

Abraham was also ordered to pay his victims $728,000 in restitution and will face deportation following his sentence.