In 1816 Mary's half-sister Fanny committed suicide; weeks later, Percy's wife, Harriet, drowned herself. Mary and Percy were married in London in an unsuccessful attempt to gain custody of his two children by Harriet. Three of their own children died soon after birth, and Mary fell into a deep depression that did not improve even after the birth in 1819 of Percy Florence, her only surviving child. The Shelleys' marriage suffered, too, in the wake of their children's deaths, and Percy formed romantic attachments to other women.