Ewan McGregor is headed for the wild blue yonder.
The Star Wars star has come aboard Fox Searchlight's Amelia, a biopic starring Hilary Swank as the legendary aviator.
According to Variety, the 37-year-old actor will play the father of famed author Gore Vidal, Gene Vidal, with whom Earhart had a passionate affair while married to publisher George Putnam. Richard Gere has been cast as Putnam, while Virginia Madsen will play Putnam's first wife, Dorothy Binney Putnam.
Amelia is being helmed by Mira Nair (The Namesake) from a script by Ron Bass, who won an Oscar for writing Rain Man.
Earhart, the first woman to fly solo across the Atlantic, disappeared over the Pacific Ocean and was declared dead after a courageous 1937 attempt to circumnavigate the globe.
McGregor is about to wrap the comedy-drama I Love You, Philip Morris, opposite Jim Carrey.
He'll then have a brief window to shoot his role for Amelia, which is currently filming in Toronto, before beginning work next month on Angels and Demons, Ron Howard's highly anticipated prequel to The Da Vinci Code.