From the dust and gas disc of the very early solar system emerged the gas gaints. Four billion years ago our solar system looked quite different to the one we see today with Uranus and Neptune much closer to the sun, regularly swapping orbits. Patrick Moore discusses how these wandering giants came to be flung to the icy outer regions of our solar system.