"Glee" mastermind Ryan Murphy has purchased actress Diane Keaton's Spanish Colonial Revival in Beverly Hills for an undisclosed amount, public records show.

Keaton restored the Ralph Flewelling-designed hacienda, which she bought in 2007 for $8.1 million. It first came on the market in March 2009 priced at $12,995,000 and was most recently priced at $10.95 million. It could be months before the prices of September sales appear on public records.

The courtyard-style house, built in 1927, has an oversized front door that opens to a hall with a library. A living room and dining room sit beyond arched passages. On one side of the fountain-centered courtyard is a family room and the kitchen; on the other, a media room and den. There are six fireplaces, seven bedrooms and nine bathrooms in 8,434 square feet of living space. The nearly half-acre of grounds include a swimming pool and paths lined by olive trees.

Murphy, in his mid-40s, is the creator of such hit shows as "Glee" (2009-present) and "Nip/Tuck" (2003-10). The writer-producer-director owns other residential property in the Los Angeles area.

Keaton, who also is a producer-director, will star in the comedy "Morning Glory," due out in November, and in the 2012 drama "Darling Companion." Keaton, 64, has four decades of film credits and won a lead actress Oscar for "Annie Hall" (1977).

Aileen Comora and Paul Lester of Westside Estate Agency, Beverly Hills, had the listing.