A woman who beat her boyfriend with a baseball bat after he moved across the country to meet in person for the first time has been jailed.

Haley Fox, 24, was sentenced to five years and 10 months in prison at Marion County Courthouse in Salem on Wednesday.

She pleading guilty to charges of third-degree assault and unlawful use of a weapon earlier this month.

Fox, of Turner, Oregon, had been dating Samuel Campbell, of Adger, Alabama, for two years after meeting online in 2013.

Haley Fox (left) was sentenced to five years and 10 months in prison on Wednesday after beating her boyfriend Samuel Campbell (right) with a baseball bat at their first meeting

But when the 26-year-old agreed to move to Oregon earlier this year to live with Fox, she attacked him because she no longer wanted to be in the relationship.

However, she set up a table outside her home with candles and glasses of wine for their first meeting on April 8.

According to a police report from Marion County Sherriff’s Office, Fox led Campbell to the table and asked him to close his eyes.

She then struck him three times on the head from behind with a metal baseball bat.

Fox decided to beat Samuel Campbell with a bat because she no longer wanted to be his girlfriend after he moved more than 2,500 miles from Alabama to Oregon to be with her

Fox later told authorities that she decided to hurt Campbell because she did not want to be his girlfriend.

He suffered a fractured skull cuts to the head that required staples. FOX12 reported Campbell had told detectives that he thought he was going to die.

According to court documents, he convinced Fox and another woman at the residence that he would stay quiet about the incident if they would take him to the hospital.