Mars Global Surveyor was launched by NASA in 1996 and entered orbit around Mars in September 1997. Its main objective was to map the entire planet. After arriving, the spacecraft carried out various manoeuvres to alter its orbit .