Lord William Bentinck, who served as Governor- General of Bengal (1828-1835) and later the first Governor-General of British India (1833-1835), is credited with the abolition of Sati. Sati was declared illegal and punishable by courts of law by Regulation XVII of 1829.