In 1630, he bought the office of a councilor at the Parlement de Toulouse, one of the High Courts of Judicature in France, and was sworn in by the Grand Chambre in May 1631. He held this office for the rest of his life. Fermat thereby became entitled to change his name from Pierre Fermat to Pierre de Fermat. On 1 June 1631, Fermat married Louise de Long, a fourth cousin of his mother Claire de Fermat (née de Long). The Fermats had eight children, five of whom survived to adulthood: Clément-Samuel, Jean, Claire, Catherine, and Louise.