The Cassini space probe performed two gravitational-assist flybys of Venus on April 26, 1998, and June 24, 1999. These flybys provided the space probe with enough momentum to travel all the way out to the asteroid belt. At that point, the Sun's gravity pulled the space probe back into the inner Solar System.
On August 18, 1999, at 03:28 UTC, the craft made a gravitational-assist flyby of the Earth. One hour and 20 minutes before closest approach, Cassini made its closest approach to the Earth's Moon at 377,000 kilometers, and it took a series of calibration photos.