The Once Upon A Time stars Ginnifer Goodwin and Josh Dallas have gotten engaged, the two play Snow White and Prince Charming on the show.

Their reps exclusively revealed to People. Dallas proposed to Goodwin on Wednesday in Los Angeles.

The couple said in a statement, "We are so thrilled to announce our engagement and can't wait to celebrated with our friends and family, including our second family at Once Upon A Time."

According to E! News, the two co-stars had an "immediate connection when they met" back in 2011. However, they were "just friends" at first because Dallas was married to actress Lara Pulver at the time.

A source had said, "They were shooting in Canada together, and because they were both away from home, they inevitably started to socialize together off the set as well as on--and they got closer as friends."

Dallas and Pulver would eventually split due to distance and Goodwin ended her engagement to Joey Kern, both in 2011.

image: ABC