ADA, MINN.—A Minnesota woman has been sentenced to 180 days in jail for fatally shooting her boyfriend in a stunt they recorded on video and planned to post on YouTube.

A judge in Norman County on Wednesday also banned Monalisa Perez from ever owning a gun again and prohibited her from profiting from the story of the fatal shooting last June at their home in Halstad.

For the stunt, 22-year-old Pedro Ruiz held a hardcover encyclopedia against his chest and Perez, standing about a foot away, fired a .50-calibre Desert Eagle pistol to see if the bullet would go through the book. Ruiz died as a result of the gunshot.

The Star Tribune reports Perez earlier pleaded guilty to second-degree manslaughter in an agreement with prosecutors. Norman County Attorney James Brue says Perez tragically relied on Ruiz’s assurances before pulling the trigger.

“We were doing a YouTube video, and it went wrong,” Perez said in a transcript of the call, the Star Tribune reported. “It’s all on recording.”

Perez had earlier tweeted: “Me and Pedro are probably going to shoot one of the most dangerous videos ever. HIS idea not MINE.”

Read more:

He thought a book would stop a bullet and make him a YouTube star. Now he’s dead