How was the planet Kepler-78b discovered?

A. By direct imaging with the Hubble Space Telescope
B. By analyzing data from the Kepler space telescope as it passed across the surface of its host star
C. By measuring the radial velocity of the host star
D. By detecting the transit of the planet in front of a background star
Answer: 