Megan Fox and Brian Austin Green Are Starring Together in New Family Movie 'Dakota'

Megan Fox and Brian Austin Green are teaming up for a new film.

The couple, who have been married for nearly 10 years, is costarring in their first feature film together Dakota, according to The Hollywood Reporter.

Fox, 32, will portray Kate, a widow who loses her husband in the war in Afghanistan and struggle to maintain their family farm while being a single mother to her daughter.

Meanwhile, Green, 45, will play a soldier who reunites her husband’s best friend, a combat dog named Dakota, with her and her daughter.

Directed by Kirk Harris, this will be Fox and Green’s first time working on a film together.

Megan Fox and Brian Austin Green | JB Lacroix/WireImage
Megan Fox and Brian Austin Green | JB Lacroix/WireImage

The two were married in 2010 and share three children together: Noah, 6, Bodhi, 5, and Journey, 2. Green also has a teenage son, Kassius, from a previous relationship.

RELATED: Megan Fox Holds Onto Brian Austin Green as They Step Out for Rare Public Date Night

It’s been a bumpy road for Fox and Green who have been open about their relationship struggles. Fox filed for divorce in 2015 after five years of marriage, citing irreconcilable differences. The two then announced that they were having a third child together — and reconciled the following year.

During a September 2017 episode of his …with Brian Austin Green podcast, Green admitted that “to be in a relationship takes work and it’s not easy.”

Marriage is hard,” he said. “It’s work, I think for anyone. I think when you get to the point like we have, where you have kids and you’ve been married for a while and we’ve been together for a long time, it’s – you just take it day by day.”

RELATED VIDEO: Brian Austin Green on How He and Megan Fox Make Their Marriage Last

The actor revealed in 2017 that he was interested in trying for baby No. 4. “I want a girl,” the actor explained in a Facebook Live chat with Hollywood Pipeline’s Dax Holt. “I really want a girl.”

But that doesn’t mean that Green is going for another just yet. “I’m worried that if I try I’ll just get another boy,” he said. “I love my boys, but I’ll have another boy and I don’t know if I’m ready for five.”

“I’m not [pining for a girl]. I know Brian would like a girl, but they seem much more challenging if I’m any indication,” she told Extra in 2017.