In 1814 Hans Christian Ørsted married Inger Birgitte Ballum, the daughter of a pastor, and in the following years the couple had three sons and four daughters.