The president of Mississippi’s Jackson State University was arrested over the weekend for allegedly trying to solicit a prostitute, police said.

William Bynum Jr., 57, was one of 17 people busted in an undercover prostitution sting, according to Clinton Police Chief Ford Hayman.

Bynum resigned as the head of Jackson State University on Monday.

The suspects were caught at a hotel in the town of Clinton after being directed there by an online prostitute ad, Hayman said.

When busted, Bynum allegedly gave cops a fake name.

He was charged with procuring services of a prostitute, false statement of identity and simple possession of marijuana.

Shonda McCarthy, 46, another Jackson State University employee, was also arrested in the sting.

McCarthy, the school’s art galleries director, was charged with procuring services of a prostitute and possession of marijuana while operating a motor vehicle.

Bynum had been president of Jackson State since 2017. Before that, he served four years as president of Mississippi Valley State University.

His biography on the Jackson State University website said his personal and professional motto is, “Look back and thank God. Look forward and trust God. Look around and serve God. Look within and find God.”

With Post wires