In 1822, at the age of eighteen, Sand married Casimir Dudevant (1795–1871; first name "François"), out-of-wedlock son of Baron Jean-François Dudevant. She and Dudevant had two children: Maurice (1823–1889) and Solange (1828–1899). In 1825 she had an intense but perhaps platonic affair with the young lawyer Aurélien de Sèze. In early 1831, she left her husband and entered upon a four- or five-year period of "romantic rebellion." In 1835, she was legally separated from Dudevant, and took custody of their children.