Inside Johnny Depp's 15-bed, 14-bath French compound going up for sale -- why he's parting with it

For roughly 15 years, Johnny Depp has gone to painstaking measures to turn his French estate into one of the world's most breathtaking properties, and now it's going on the market.

The actor's Plan-de-la-Tour compound is located in the French countryside, just outside of Saint-Tropez, and it's where he raised his kids, Lily-Rose, 17, and Jack, 14.

READ: 'Forbes' Dubs Johnny Depp Hollywood's Most Overpaid Actor

The breathtaking property spans 37 acres and includes a 4,300-square-foot main house, six guest cottages, an art studio, two swimming pools, a gym, a bar, a restaurant, 15 bedrooms and 14 bathrooms.

Over the years, Depp has reportedly spent more than $10 million to restore and decorate the estate, which features buildings that survived the French Revolution. What used to be a chapel has been meticulously converted into a guesthouse wherein the confessional was transformed into a closet.

Strolling through the estate, one would encounter olive groves, vineyards and 300-year-old oak trees while enjoying the picturesque view of sloping grounds and wide-open skies.

WATCH: Johnny Depp Is Mysteriously Missing From the New 'Pirates of the Caribbean: Dead Men Tell No Tales' Trailer

After acquiring the property in 2001 for an undisclosed amount, Depp first put the compound up for sale in 2015 with an asking price of about $25 million. The estate was later taken off the market and has now been relisted at $40 million.

The Pirates of the Caribbean star once shared the French property with his former girlfriend of 14 years, Vanessa Paradis. In a cover interview with French magazine VSD in 2009, Depp said that living in southern France "has given me everything. A marvelous family and also an equilibrium which I missed enormously."

WATCH: Johnny Depp & Amber Heard: A Timeline of Their Relationship, Divorce and Domestic Abuse Allegations

"With Vanessa and the kids, we live in a sort of little village in the south and I have the impression of being in paradise," he continued. "It's a property of about 30 acres and you know what I do there? Absolutely nothing."

A source tells ET that Depp's reason for selling is to close that chapter of his life and move on.