The Mars Global Surveyor mission was designed as a rapid, low-cost recovery of the Mars Observer mission objectives. Objectives included high resolution imaging of the surface and studies of the magnetic field, topography, climate, weather, and gravity. It arrived at Mars in 1997, began its primary mission in 1999, and operated until late 2006, far exceeding its goals.