On 8 May 1788, William Herschel married the widow Mary Pitt (née Baldwin) at St Laurence's Church, Upton in Slough. They had one child, John, born at Observatory House on 7 March 1792. William's personal background and rise as man of science had a profound impact on the upbringing of his son and grandchildren. He was elected a Foreign Honorary Member of the American Academy of Arts and Sciences in 1788. In 1816, William was made a Knight of the Royal Guelphic Order by the Prince Regent and was accorded the honorary title 'Sir' although this was not the equivalent of an official British knighthood. He helped to found the Astronomical Society of London in 1820, which in 1831 received a royal charter and became the Royal Astronomical Society. In 1813, he was elected a foreign member of the Royal Swedish Academy of Sciences.