A prominent minister, who blessed the governor at his inauguration in 2015, is among the group of 10 men accused of trying to purchase sex for a fee from undercover Boston detectives.

Archie Livingston Foxworth, 68, of Hull, is accused of responding to an online ad posted by the Boston Police Department's Human Trafficking Unit, according to the Suffolk County District Attorney's Office.

Foxworth and the nine other men were arrested at the location where they agreed to meet undercover detectives, the DA's office said.

The DA's office said that nine of the 10 men were arraigned Wednesday. In addition to Foxworth, that includes: Murat Inamli, 50, of Brookline; Zian JIang, 20, of Boston; William J. Marchant, 54, of Norwood; Eswin Esteban, 39, of Chelsea; Benjamin Silver, 40, of Somerville; James M. Rose, 59, of Boston; Thomas Holt, 42, of Belmont; Nikunk B. Patel, 27, of Revere.

The tenth suspect, Andrew Kyriacou, 51, of Shrewsbury, is scheduled to be arraigned next week.

Under state law, offering to pay for sex is punishable by up to two and one half years in prison and a fine of up to $5,000.