Voyager 2 is a space probe launched by NASA on August 20, 1977, to study the outer planets and interstellar space beyond the Sun's heliosphere. As a part of the Voyager program, it was launched 16 days before its twin, Voyager 1, on a trajectory that took longer to reach gas giants Jupiter and Saturn but enabled further encounters with ice giants Uranus and Neptune. Voyager 2 remains the only spacecraft to have visited either of the ice giant planets. Voyager 2 was the fourth of five spacecraft to achieve Solar escape velocity, which allowed it to leave the Solar System.