Viking 1 was launched on August 20, 1975. The orbiter arrived the following year on June 19 and the lander touched down on the surface on July 20. After a little over four years, the orbiter depleted its attitude control fuel and shut down on August 17, 1980. The lander continued delivering information for another two years until it eventually failed during a software update. The antenna retracted, terminating communication on November 13, 1982.
The Viking 2 mission was less successful. The rocket launched on September 9, 1975 and obtained orbit on August 7, 1976. The lander arrived on the surface on September 3. After nearly two years, the orbiter suffered a fuel leak in the propulsion system and shut down on July 25, 1978. The lander lasted another year and a half until a battery failure caused its deactivation on April 11, 1980.