By Jonathan Amos
Science reporter, BBC News
The Osiris camera system pictures the illuminated crescent of Earth
Europe's Rosetta spacecraft has made its third and final flyby of Earth, a manoeuvre designed to position the probe to chase down a comet in 2014.
The spacecraft's whip around the planet will have given it the extra speed it needs to take it out to the rendezvous location near Jupiter.
Launched in 2004, Rosetta had already flown by Earth twice and Mars once.
The journey out to Comet 67P/Churyumov-Gerasimenko will also take the probe past an asteroid in 2010.
Rosetta was expected to be moving at some 13km/s as it swept over the Indian Ocean, just south of the Indonesian island of Java.
At closest approach it reached an altitude of just 2,480km, well inside the orbits of geostationary telecoms satellites.
Engineers say the gravity-assist will have increased Rosetta's speed by almost 4km/s with respect to the Sun.
Scientists used the flyby to test the health of some of Rosetta's instruments by making observations of the Earth and the Moon.
Rosetta has already visited one asteroid on its Solar System tour
Osiris, the main scientific camera system, took a series pictures.
Engineers will assess the probe's trajectory to see if any course corrections are required. Any changes will be easier and lighter on fuel if they are made as early as possible.
The mission is expected to make a flyby of Asteroid Lutetia in July 2010, but apart from that one event the long journey into the outer Solar System should be a quiet one.
Indeed, for much of the time, the spacecraft will be put in a hibernation mode.
Rosetta's meeting with Churyumov-Gerasimenko is set for the May of 2014.
The probe will go into orbit around the 4km-wide ball of ice and dust and place a small lander called Philae on its surface.
As the comet moves into the inner Solar System, radiation from the Sun will cause the comet's ices to sublime - they will turn straight from a solid to a gas. Material will be ejected at supersonic speeds.
Gas and dust will be thrown out around the comet to form a coma, and away from the comet to form tails.
The Rosetta orbiter and lander will watch and record these events as the comet hurtles along at speeds up to 135,000km/h.
Scientists are keen to study comets close up because they are thought to contain materials that have remained largely unchanged since the formation of the Solar System 4.6bn years ago.
• Launch: 2 March 2004
• First Earth swingby: 4 March 2005
• Mars swingby: 25 February 2007
• Second Earth swingby: 13 November 2007
• Steins flyby: 5 September 2008
• Third Earth swingby: 13 November 2009
• Lutetia flyby: 10 July 2010
• Comet rendezvous manoeuvres: 22 May 2014
• Lander delivery: 10 November 2014
• Escorting the comet around the Sun: November 2014 - December 2015
• End of mission: December 2015