Sir William Rae, 3rd Baronet (14 April 1769 – 19 October 1842),[1] was a Scottish politician and lawyer.
He was Member of Parliament for Anstruther Burghs, in Fife, from 1819 to 1826, Harwich, Essex, England, from 1827 to 1830, Buteshire in 1830 and from 1833 to 1842, and for Portarlington, Queen's County, Ireland, from 1831 to 1832.
In the aftermath of the Peterloo Massacre, he reported to the Home Secretary, Viscount Sidmouth, on radical unrest in Scotland.
[5] He died aged 73 at St Catherines, near Mortonhall in south Edinburgh on 18 October 1842.
[3] He is buried with his father and mother on the south-west corner of St Michael's church in Inveresk.