In East Hampton, N.Y., the property was sold by real estate developer Elie Hirschfeld, president of Hirschfeld Properties.

A Hamptons mansion that served as a summer vacation rental for Bill and Hillary Clinton has sold for $29 million.

The Clintons stayed in the home for part of August in both 2011 and 2012, said Apolonia Baptiste, assistant to seller Elie Hirschfeld; she declined to say what the Clintons paid. Current listing agent Rebekah Baker of Sotheby’s International Realty in the Hamptons said that in recent years the property has rented for between $350,000 and $500,000 for the summer, or for about $150,000 a month.