Astronomers have discovered one of the most distant planets known, a gas giant about 13,000 light-years from Earth, called OGLE-2014-BLG-0124L. The planet was discovered using a technique called microlensing, and the help of NASA's Spitzer Space Telescope and the Optical Gravitational Lensing Experiment, or OGLE. In this artist's illustration, planets discovered with microlensing are shown in yellow. The farthest lies in the center of our galaxy, 25,000 light-years away.  Most of the known exoplanets, numbering in the thousands, have been discovered by NASA's Kepler space telescope, which uses a different strategy called the transit method. Kepler's cone-shaped field of view is shown in pink/orange. Ground-based telescopes, which use the transit and other planet-hunting methods, have discovered many exoplanets close to home, as shown by the pink/orange circle around the sun.   http://photojournal.jpl.nasa.gov/catalog/PIA19333
Map of Exoplanets Found in Our Galaxy Artist Concept
This plot shows data obtained from NASA's Spitzer Space Telescope and the Optical Gravitational Lensing Experiment, or OGLE, telescope located in Chile, during a "microlensing" event. Microlensing events occur when one star passes another, and the gravity of the foreground star causes the distant star's light to magnify and brighten. This magnification is evident in the plot, as both Spitzer and OGLE register an increase in the star's brightness.  If the foreground star is circled by a planet, the planet's gravity can alter the magnification over a shorter period, seen in the plot in the form of spikes and a dip. The great distance between Spitzer, in space, and OGLE, on the ground, meant that Spitzer saw this particular microlensing event before OGLE. The offset in the timing can be used to measure the distance to the planet.  In this case, the planet, called OGLE-2014-BLG-0124L, was found to be 13,000 light-years away, near the center of our Milky Way galaxy.  The finding was the result of fortuitous timing because Spitzer's overall program to observe microlensing events was only just starting up in the week before the planet's effects were visible from Spitzer's vantage point.  While Spitzer sees infrared light of 3.6 microns in wavelength, OGLE sees visible light of 0.8 microns.  http://photojournal.jpl.nasa.gov/catalog/PIA19331
Time Delay in Microlensing Event