Newton derived the inverse square law of gravitation with the help of Kepler's third law of planetary motion.