A Nebraska teen who fatally threw her newborn out a second-floor window sent her boyfriend a series of disturbing texts about the murder.

Antonia Lopez, 16, reportedly texted her boyfriend “It was a girl by the way” after killing the premature infant in September.

The teen then later added, “Babe we can try again if you still want to be with me.”

Lopez, of Omaha, took a plea deal Feb. 1 that will put her on detention at home, according to KMTV. She had been charged with felony child abuse resulting in death.

As part of her sentence, she will be required to submit to drug testing and a psychiatric evaluation.

The teen told investigators she did not know she was pregnant.

After giving birth to the child, Lopez confessed to her mom, who found the newborn and called 911, the Omaha World-Herald reported.

Lopez and the newborn were rushed to the hospital, where the baby was pronounced dead on arrival.

“It wasn’t a planned-out, thought-out process. It was more of a panicked reaction,” Douglas County Attorney Don Kleine told the Omaha World-Herald.