:max_bytes(150000):strip_icc():focal(149x0:151x2):format(webp)/michelle-williams-300-8-03fb2eff55b84be9a0c7e0bd8913eaa3.jpg)
The fairytale is over for Michelle Williams and Jason Segel.
The Oz the Great and Powerful star and the How I Met Your Mother actor split a few weeks ago after dating for a year, a source confirms to PEOPLE.
The long distance – Williams, 32, is based in New York City, while Segel, 33, primarily resides in Los Angeles – was the reason behind the breakup, the source adds.
Earlier in the month, the actress told In Style that she cherished public support of her relationship.
PHOTOS: 5 Reasons We’re Mourning Michelle & Jason’s Split
“If people are happy about it that makes me feel good … Any kind sentiment that the world can feed back, well, I won’t turn it down,” she explained.
The couple, who were often seen out and about with 7-year-old Matilda, Williams’ daughter with the late Heath Ledger, began staying together in a Brooklyn apartment last fall.
Reps for the actors have not commented.