As empress, Joséphine proposed the marriage as a way to produce an heir for the Emperor, who agreed, as Joséphine was by then infertile. Louis married Hortense when he was twenty-four and she was nineteen. They had a difficult relationship and only lived together for brief periods. Their first son Napoléon Charles Bonaparte died in 1807 and—though separated and parents of a healthy second son, Napoléon-Louis Bonaparte, they decided to have a third child. They resumed their marriage for a brief time in Toulouse starting from the 12 of August 1807 and Louis was born prematurely, (at least) three weeks short of nine months. His mother was known to have lovers and Louis Napoleon's enemies, including Victor Hugo, spread the gossip that he was the child of a different man, but most historians agree today that he was the legitimate son of Louis Bonaparte.