in

Kate Mara is war hero Megan Leavey

Kate Mara is trading in the fictional hero for a real-life one.

The “Fantastic Four” and “House of Cards” star is set to play Megan Leavey in Gabriela Cowperthwaite’s film about Leavey and her her military combat dog Rex, who saved countless lives searching for roadside bombs during two tours in Iraq from 2004 to 2006.

The film will be titled “Megan Leavey”and production will kick off in October.

Pamela Gray penned the script with additional material by Annie Mumolo, Tim Lovestedt and Jordan Roberts. Mickey Liddell, Jennifer Monroe and Pete Shilaimon are producing.

The movie is based on the true story of Leavey, a young Marine who turned her life around by enlisting in the K9 unit. There, she was teamed with an aggressive combat dog named Rex. The pair formed a special bond and were deployed to Iraq as an elite bomb sniffing team. Together they served two tours of duty and completed more than 100 missions, saving innumerable lives.

After she was wounded in combat, for which she received a Purple Heart, Megan was forced to retire. She spent the next five years waiting to adopt Rex, who remained on active duty. When he ended up on a list to be euthanized, Megan geared up for the fight of her life to bring the 11-year-old German shepherd home.

Downton Abbey & Newsroom stars join The Sense of an Ending

Ice Age 5 gets title & new release date