Bill and Hillary Clinton's summer vacation rental home in the Hamptons sold for $29 million after sitting under contract for nearly two years.

Apolonia Baptiste, the assistant to the seller Elie Hirschfeld, said that the former first family vacationed at the mansion for part of August in 2011 and 2012, the Wall Street Journal reported.

"The President toured the Hirschfelds through the home and showed the rooms where the President used to complete his book, ‘Back to Work,'" said Baptiste.

While Baptiste declined to say what the Clintons paid to stay at the property, current listing agent Rebekah Baker of Sotheby’s International Realty in the Hamptons said the property has rented recently for between $350,000 and $500,000 for the summer, or for about $150,000 a month.

The roughly 10,000-square-foot East Hampton, N.Y. property is on 1.25 acres with 200 feet of ocean frontage. It contains eight bedrooms, all of which have en suite bathrooms, a formal dining room and six fireplaces.

It is located on a street "with a canopy of elms and with grand homes on each side," Baker told the Journal.

The seller, Hirschfeld, is the son of prominent New York real estate developer Abe Hirschfeld, and is the president of Hirschfeld Properties.

Hirschfeld purchased the home in 1996 for $3.2 million and completed renovations in 2002, according to Baker. He further renovated the kitchen in 2015 just before he listed the house, the Journal reported.

The property has been under contract for nearly two years. Baker declined to disclose the reason for the lengthly time before closing other than to say, "basically neither party needed to close quickly."

The identity of the buyer has not been determined.