As a result of this guest appearance, Anderson was sent the script for The X-Files. She was 24 when she decided to audition because, "for the first time in a long time, the script involved a strong, independent, intelligent woman as a lead character. " Producer Chris Carter wanted to hire her, but Fox wanted someone with previous television exposure and greater sex appeal. Fox sent in more actresses, but Carter stood by Anderson, and she was eventually cast as FBI Special Agent Dana Scully. Anderson got the part assuming it would run for 13 episodes, the standard minimum order for American television networks. Filmed for the first five seasons in Vancouver, British Columbia, before moving to Los Angeles, the series ran for nine seasons. Two related films were also produced, released in 1998 and 2008. During her time on The X-Files, Anderson won numerous awards for her portrayal of Special Agent Scully, including an Emmy Award for Outstanding Lead Actress in a Drama Series, a Golden Globe for Best Actress in a Television Series Drama, two Screen Actors Guild Awards for Outstanding Performance by a Female Actor in a Drama Series and a Saturn Award for Best Actress on Television. Anderson is the first actress to win an Emmy, a Golden Globe, and a SAG Award in the same year. For the role, she received a total of four Emmy nominations, four Golden Globe nominations and nine SAG nominations.