In 1838, her husband became Earl of Lovelace and Viscount Ockham, and Ada became Countess of Lovelace.