Emma Roberts and Garrett Hedlund recently split after almost three years together, and a source says that Emma gave her ex multiple ultimatums before they parted ways.

According to an Us Weekly insider, “Garrett and Emma have a great co-parenting relationship. When he’s sober, he’s a great guy and they’ve been handling co-parenting very well.” The source also notes that Emma gave Garrett “multiple ultimatums” before ending the relationship and that they’re both committed to putting their son, Rhodes, first: “They have a very amicable relationship with each other and are being very adult about their breakup.”

Emma and Garrett announced that they were expecting their first child together back in summer 2020, and Emma gave birth in December. At the time, a source noted that the couple were “surprised, shocked, and happy at the same time, and so are their families,” adding that “Garrett is really looking forward to becoming a dad and feels as though this is something he needed. He is ready to take on all the daddy duties, and Emma getting pregnant has forced him to become more responsible. He thinks that’s a blessing.”

Emma and Garrett parted ways in January, and unfortunately Garrett was taken into custody for public intoxication one day after the news broke and has a court date set for March 28.