Major-General William Farquhar (/ˈfɑːkər/ FAH-kər; 26 February 1774 – 11 May 1839) was a Scottish employee of the East India Company, and the first British Resident and Commandant of colonial Singapore.