The 25-foot-wide building, once a carriage house, was transformed by the architect Paul Rudolph in the 1960s into an open, modern structure, with a dark glass facade, a large rooftop terrace and a three-story greenhouse. The high-ceilinged house, which also includes a garage, contains nearly 7,500 square feet, with four bedrooms, four and a half baths, two living rooms and a home office.
The house was purchased by the fashion designer Roy Halston Frowick, better known as Halston, in 1974, and became a party hangout for the likes of Andy Warhol and Liza Minnelli. Halston sold the house in 1990, shortly before he died. The most recent owner was the family of the German photographer Gunter Sachs, who was once married to the actress Brigitte Bardot and died in 2011.
Adam D. Modlin of the Modlin Group, which represented the buyer, would only say that his client was from out of town.
The Carlton House mansion sold for nearly $27.5 million; the asking price was $32.9 million. This home, which is steps from Central Park, has five main levels and a rooftop terrace, with 9,742 square feet of interior space and 2,700 square feet of exterior space.
In Boerum Hill, the carriage house bought by Mr. Donovan and his wife, Liza Gilbert, a landscape architect, has two bedrooms and one bath. The closing price was $2.3 million, which was above the nearly $1.65 million ask.
Mr. Donovan served as the secretary of Housing and Urban Development from 2009 to 2014 and as the director of the Office of Management and Budget from 2014 until the end of the Obama administration. He was also the commissioner of New York City’s Department of Housing Preservation and Development.
Mr. Damon’s record-breaking penthouse purchase in late December, reportedly a combination of three units, was at the Standish, at 171 Columbia Heights, a 12-story Beaux-Arts building in the Brooklyn Heights Historic District that once housed the Standish Arms Hotel. (Comic book aficionados may recall Clark Kent living in unit 5H at the Standish Arms Hotel in Metropolis.)
The previous record price for the borough was set in 2015, when the photographer Jay Maisel acquired a Cobble Hill townhouse for $15.5 million.