 Shortly afterwards, William, having been reinstated by the Jockey Club, set up as a trainer near the village of Woodyates, on the border of Dorset and Wiltshire.In 1852, he trained his first major winner when he sent out Joe Miller to defeat forty-two rivals the Chester Cup, at that time one of the year's most important and valuable races.A month later the same horse won the Gold Cup at Royal Ascot.