Augusta Ada King, Countess of Lovelace (née Byron; 10 December 1815 – 27 November 1852) was a British mathematician and writer known for her work on Babbage's early mechanical general-purpose computer, the Analytical Engine. Her notes on the engine included the first algorithm intended to be carried out by a machine. As a result, she is often regarded as the first computer programmer. She married Lord William King in 1835, who was made Earl of Lovelace in 1838, making Ada Lady Lovelace. She died of uterine cancer in 1852.