Stephani Renae Lawson said posed as her ex-

Stephani Renae Lawson was jailed on Wednesday for creating a fake Facebook profile

A woman who created Facebook profiles and sent herself eight threatening messages from them to frame her ex-boyfriend has been jailed for a year.

Stephani Renae Lawson, who now lives in Las Vegas, was caught by investigators after reporting her former partner Tyler Parkervest to police in Orange County, California.

Parkervest was arrested over the threats and was due to stand trial when prosecutors spotted flaws in the woman's testimony, NY Daily News reported.

He was cleared of four charges of stalking, threatening, kidnapping and battering the 25-year-old.

She was jailed on Wednesday after admitting to sending herself the menacing messages.

Posing as her ex-boyfriend, she threatened to beat and murder herself in the string of messages sent last year after she and Parkervest broke up.

She told police about the messages and the man, from Irving, California, was arrested.

He denied ever sending the messages but faced felony charges based on Lawson's claims. They included probation violation and stalking.

It wasn't until a pre-trial hearing in October this year when prosecutors cast doubt on the woman's testimony.

'One of my DA colleagues looked at it and said, "It doesn't look right," and that triggered in our mind, "Maybe we need to look into this further,'" Deputy District Attorney Mark Geller said.

Lawson created the fake profiles to send herself abusive messages she then showed to police (file image)

Lawson was arrested on one felony count of false imprisonment by menace, violence, fraud, or deceit, and one felony count of perjury.

Investigators were able to trace the messages back to her own devices and IP address.

She at first denied she was behind the threats but pleaded guilty as part of a plea agreement on Wednesday.

Lawson was sentenced to one year in county jail, three years of probation and was ordered to pay restitution.

All charges against her ex-boyfriend were dropped.