Just two years out of “CSI: NY,” Sela Ward has a hankering to live in the Big Apple — and that means putting her 14,000-square-foot gated estate in the swanky Bel-Air neighborhood of Los Angeles on the market. For $39.995 million.

Evan Agostini/Invision/APSela Ward

Ward, who recently landed the role of the U.S. president in next year’s “Independence Day: Resurgence,” bought the sprawling mansion on eight acres in 2003 with her husband, Howard Sherman, so their children could spend more time in nature, she told the Wall Street Journal.

The couple revamped the seven-bedroom, 13-bath estate and intended to flip it, until Ward “greeted me at the door one day and said, ‘Let’s live here!'” Sherman told Traditional Home.