Filming began in Marrakech, Morocco, on May 4, 1998, and lasted seventeen weeks; the crew had to endure dehydration, sandstorms, and snakes while filming in the Sahara. The visual effects were provided by Industrial Light & Magic, who blended film and computer-generated imagery to create the titular Mummy. Jerry Goldsmith provided the orchestral score.