An Indiana teen’s twisted “rape fantasy” led her to allegedly stage her own sexual assault, then falsely report the encounter to police, according to officials.

Marguerite “Maggie” Wallace, 19, was arrested Monday over her bogus claims that she was sexually assaulted last month on a jog at Mounds State Park in Anderson, news station WTHR reported.

The teen initially told authorities July 3 that a man snuck up behind her, grabbed her and threw her to the ground.

Wallace said she punched and scratched her attacker until a bystander came to her aid, according to the Herald Bulletin.

The Madison County Sheriff’s Department tracked down the 17-year-old boy, who told them that he met Wallace when he responded to her post about a “rape fantasy” on the app Whisper.

The teen boy said he had several conversations with Wallace before they agreed to meet July 3 in the park to act out the sexual fantasy, according to officials.

Investigators said they reviewed screenshots of the conversations that corroborated his version of events.

Officers confronted Wallace with the new information, which she first denied before admitting that she didn’t tell authorities the truth, according to WTHR.

She was arrested and booked at Madison County Jail on charges of falsely informing police. Her bond was set at $3,000.

“While this is extremely frustrating, on several levels, I am very proud of the work our Detective Division performed,” Madison County Sheriff Scott Mellinger told the news station.