Olivia Wilde has signed on to star opposite Daniel Craig in the sci-fi Western Cowboys & Aliens, directed by Jon Favreau for DreamWorks Studios.

According to Heat Vision, Wilde will play a character named Ella who joins up with mysterious gunslinger in an unlikely uprising against an alien invasion.

Craig is playing the gunslinger, taking over the role from Robert Downey Jr., who dropped out in January.

No production date has been announced.