CASABLANCA, Morocco — A Moroccan court on Tuesday sentenced a man to five years in prison and $107,300 in fines for human trafficking, in the country’s first ruling against someone accused of luring people to work in a scam compound in Asia.

The case involved several young Moroccans who said they were attracted by an online job offer promising good pay in Thailand. Instead, they found themselves trafficked to Myanmar and forced to work more than 9,300 miles (14,966 kilometers) from home, facilitating online fraud and scams.

The defendant, Nabil Moafik, denied the charges and called human trafficking a “crime against humanity” he would never commit.

The United Nations says some 120,000 people are trapped in so-called scam centers, and prosecutions have been launched around the world to c

See Full Page