Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

The ex-Baltimore Ravens cheerleader who pleaded guilty to having sex with an underage boy she met on social media was sentenced Friday to 48 weekends in jail.

Molly Shattuck, 48, appeared to sob as a Delaware judge ordered that she serve every other weekend in jail for two years. The judge also ordered that Shattuck pay the victim's family $10,650 and register as a sex offender, according to NBC affiliate WBAL.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

"I will spend the rest of my life making this right," she said.

Molly Shattuck, second from right foreground, arrives at the Sussex County Courthouse in Georgetown, Del., for sentencing, Friday, Aug. 21, 2015. Kim Hairston / AP

The family of the 15-year-old victim told the judge that Shattuck's actions have been "devastating" for their son, the station reported.

The Baltimore socialite, fitness author and mother of three pleaded guilty in June to fourth-degree rape as part of a deal with prosecutors.

Investigators say she had oral sex with a 15-year-old boy last Labor Day weekend at a beach house in Delaware.

The boy, whom she had first contacted through Instagram, attended the same school as her son, police said.

An official at the children's school went to Baltimore County police after learning about the sexual encounter.

Shattuck — the estranged wife of Mayo Shattuck, a Baltimore businessman and the chairman of energy company Exelon Corp. — became the oldest NFL cheerleader in history when the Ravens hired her in 2005. She was 38.