James Marsden is saddling up for HBO's Westworld pilot.

According to The Hollywood Reporter, the actor has signed on to play Teddy Flood, "a mysterious new arrival to a small frontier town. He quickly proves both his charm — and his talent with a revolver. His pursuit of a local beauty launches him on a dark odyssey."

Anthony Hopkins and Evan Rachel Wood were the first to join the project. Jeffrey Wright and Rodrigo Santiago signed on not soon after. THR also noted that Eddie Rouse (Pandorum), Demetrius Grosse (Banshee), Kyle Bornheimer (Family Tools), Currie Graham (Pompeii), Lena Georgas (Kingdom Hospital), Steven Ogg (Mail Order Bride) and Timothy Lee DePriest (With the Angels) will all have parts in the pilot.

J.J. Abrams (Fringe) is co-producing alongside Jonathan Nolan (Person of Interest) and Lisa Joy (Pushing Daisies). Nolan and Joy wrote the pilot. The series takes its cues from Michael Crichton's 1973 film of the same name that found a history-themed resort under siege from the humanoid robots that make the place run.