ST. PAUL, Minn. (AP) -

A second man has been sentenced to 10 years in prison for the prostitution of two underage girls at an Eagan hotel.

Ramsey County Judge Lezlie Ott Marek gave 25-year-old Brandon Barnes of St. Paul a lesser sentence than called for under Minnesota sentencing guidelines. The judge says she agreed with Barnes' attorney that he was less culpable than his co-defendant.

The St. Paul Pioneer Press reports the prosecutor sought a sentence of nearly 14 years, the same as the co-defendant.

Barnes said he has a history of mental illness and didn't understand what was going on in the hotel room.

Barnes submitted an Alford plea to inducing minors for prostitution. Under the plea, defendants do not admit guilt but agree a jury likely would find them guilty.