Variations in the orbit of Uranus that could not be explained by the gravity of then then-known planets led to the discovery of Neptune. Later, variations in the orbits of both Uranus and Neptune led to the discovery of Pluto.
Work Step by Step
This is discussed on page 175. Recently, in 2016, identical techniques have been used to infer the existence of another planet in our solar system.