Johannes Kepler was a German mathematician, astronomer, astrologer, and natural philosopher born in 1571 who made several important contributions to astronomy and the scientific revolution. He discovered the laws of planetary motion, including that planets move in elliptical orbits with the sun at one focus, that a line joining a planet to the sun sweeps out equal areas in equal times, and that the square of the orbital period is proportional to the cube of the average distance from the sun. Kepler also invented eyeglasses and log books, and was a key figure of the 17th century scientific revolution, though he faced difficulties due to his beliefs.