Amber Portwood's Son James, 4, Will Move to California After She Loses Custody to Ex Andrew Glennon

  • Oops!
    Something went wrong.
    Please try again later.

Amber Portwood has lost custody of her 4-year-old son.

An Indiana judge has ruled that son James Andrew will move to California with his dad after a difficult and ongoing custody battle between the Teen Mom star, 32, and her ex, Andrew Glennon, a rep for Portwood confirms to PEOPLE.

"Amber's shocked by the judge's ruling," a source tells PEOPLE. "She loves her son more than anything and has always tried to be the best mother to him. She's not perfect, but this was a really dramatic thing to happen."

The insider adds that Portwood is currently "contemplating what options she has to fight this," and feels frustrated after how far she's come.

"She's continuing to go to therapy to better herself and has done this consistently for three years straight," the source says.

Glennon did not immediately respond to PEOPLE's request for comment.

According to court documents obtained by The Sun, the judge's ruling comes with a number of conditions for both Portwood and Glennon. Though Glennon will now have sole legal and primary physical custody of James, the judge ordered him to "seek out and consider the mother's opinion before making any major decisions relating to the child's medical treatment, education and religion."

Never miss a story — sign up for PEOPLE's free daily newsletter to stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

Amber Portwood
Amber Portwood

MTV

The court battle began in 2019 after Portwood was arrested for attacking Glennon while he was holding their son. The day after the incident, the MTV star was charged with domestic battery, criminal recklessness committed with a deadly weapon and domestic battery committed in the presence of a child less than 16 years old.

In October 2019, Portwood was sentenced to two and a half years of probation, as well as court-ordered parenting classes. According to The Sun, Portwood successfully completed her probation — which included a 26-week Batterer's Intervention Program and over $1,000 in fines — and was officially discharged from probation in late April 2022.

Amber Portwood, Andrew Glennon
Amber Portwood, Andrew Glennon

Steve Granitz/WireImage Amber Portwood, Andrew Glennon

The new custody arrangement will see Portwood have overnight visitation for the first time since 2019. In order to introduce the preschooler to his new schedule, overnights will be phased into Portwood's time with James, which will alternate between Indiana, where both Portwood and Glennon currently live, and California, where Glennon will move with James to a family home.

RELATED: Teen Mom OG's Amber Portwood Denies Ex Andrew Glennon's Claim That She Used Drugs While Pregnant

Amber Portwood Andrew Glennon son
Amber Portwood Andrew Glennon son

Amber Portwood/Instagram Amber Portwood, her son James and her ex Andrew Glennon

Portwood went live on Instagram after news of the ruling went public Tuesday, sharing that she is dedicated to staying positive and exploring her options, also emphasizing the work she's done to better herself in recent years. The MTV personality, who is vocal about living with bipolar disorder and borderline personality disorder, also shared her belief her mental illness was "used against her."

In addition to James, Portwood also has a daughter, 13-year-old Leah, with ex Gary Shirley.

If you are experiencing domestic violence, call the National Domestic Violence Hotline at 1-800-799-7233, or go to thehotline.org. All calls are toll-free and confidential. The hotline is available 24/7 in more than 170 languages.