sentences:  The classical style grandstand building was erected in 1822, though it was designed in 1778 by York-based architect John Carr (1723–1807).The building, incorporating a private viewing area for the races' patron the Duke of Roxburghe, remains largely unchanged since its construction.In 2011 it was protected by Historic Environment Scotland as a category A listed building, as "the finest example of its building type in Scotland and a particularly rare and important survival in a wider UK context."