LARAMIE, Wyo. (AP) — A former treasurer of a University of Wyoming fraternity has pleaded guilty to stealing thousands of dollars from the organization.

20-year-old Joseph Madrid on Wednesday pleaded guilty to a felony theft charge. As part of a plea agreement, the prosecution has agreed to recommend probation and $9,000 in restitution at sentencing.

According to court documents, the fraternity president told police in April that Madrid wrote 13 unauthorized checks totaling $3,350 on the fraternity's checking account. Police say when the fraternity president confronted Madrid he returned the checkbook and admitted to writing the checks.

Madrid said in court Wednesday that he was no longer a student at the university because of his grades.