CHRIS WEEKS / Invision/AP 1 / 9
CHRIS WEEKS / Invision/AP 1 / 9

David Duchovny and Tea Leoni have filed for divorce, TMZ reports. The couple previously announced their separation back in June 2011.

PHOTOS: Celebrity splits so far this year

Duchovny filed papers in June, citing an irretrievable breakdown of the relationship. The 54-year-old actor and Leoni, 48, will have joint legal custody of their two children, daughter Madelaine, 15, and son Kyd, 12. Leoni will have primary physical custody.

PHOTOS: Hollywood's ugliest divorces

Other terms of the divorce include Duchovny having to pay $8,333 a month in child support and $40,000 a month in spousal support.

PHOTOS: Hollywood's most expensive divorces

The "X-Files" alum and Leoni married in 1997. Before announcing their separation in 2011, they also briefly split in 2007. In October 2008, Duchovny voluntarily entered a rehabilitation center for sex addiction for two months.

PHOTOS: Celebrity couples -- then and now

Leoni has been keeping busy since Duchovny's filing. The actress is playing the U.S. Secretary of State in the upcoming CBS series "Madam Secretary."

MORE FROM WONDERWALL:

Stars with sex addiction

Stars with secret sexy pasts

BING: Celebs with college degrees