Uncredited/Associated Press

Former Baltimore Ravens cheerleader Molly Shattuck, 48, pleaded guilty to one count of fourth-degree rape Tuesday, reaching a plea agreement with prosecutors.

The plea mandates that Shattuck—who made history as the oldest woman to become an NFL cheerleader when she was 38—undergo sexual disorder counseling and register as a sex offender. She cannot have contact with minors other than her children without supervision, and Shattuck is prohibited from contacting her victim.

The Baltimore Sun's Ian Duncan and Kevin Rector reported the news in Georgetown, Delaware, which came from a hearing in the state's superior court.

Uncredited/Associated Press/Associated Press

Prosecutors allege Shattuck, the ex-wife of former Constellation Energy CEO Mayo Shattuck, had a relationship with a 15-year-old who was a classmate of her son's at McDonogh School. The relationship allegedly began in May 2014 when Shattuck reached out to the teenager through Instagram.

Shattuck faces up to 15 years in prison. Her sentencing is slated for the middle of August.

In addition to her initial indictment of nine counts last November, Shattuck faced arraignment that same month in Sussex County court, where she pleaded not guilty and insisted she was innocent.