David Duchovny and Tea Leoni have officially ended their 17-year marriage.
According to TMZ, the couple, who announced their separation in June 2011, have divorced.
X Files star David, 54, filed the papers citing an irretrievable breakdown of the pair's relationship.
Tea, 48, will have primary physical custody of the couple's daughter Madelaine, 15, and son Kyd, 12 although the couple have joint legal custody of their children.
David and Tea married in 1997 and briefly split in 2007. In 2008 David voluntarily entered a rehabilitation centre and the couple got back together although they went they went their separate ways again in 2011.