Signed and dated 1802, it depicts Windsor Castle from the Thames with a group of working horses, a young family and other details in the foreground.
These popular high-quality topographical scenes were vintage subjects for Sandby who, along with his brother Thomas, lived on the Royal Windsor estate after 1751 and was given licence to roam and paint throughout the grounds by George III himself.
Together, the brothers famously published a series of aquatints of the Terrace at Windsor in the 1770s. The work on offer at Bonhams was also closely related to another Sandby work in the Royal collection, Windsor Castle from the Eton Shore.
At the sale on December 1, it easily bettered a pre-sale guide of £40,000-60,000, to sell for £180,000 - the highest price achieved in 20 years for a work by the British master. Another high price in the last few years was Eton, View from Crown Corner, which sold for £120,000 at Lawrences of Crewkerne in January 2013.
Bonhams' sale of Hooton, one of Yorkshire's oldest houses and the home of the Warde family for more than 300 years, totalled £935,310 with 98% sold.
The buyer's premium was 25/20/12%.