A surge in luxury home sales in October drove San Francisco’s median housing cost to $1.58 million. That’s a new high for the city, up $100,000 from a peak in May, Paragon Real Estate reports.

There were 38 sales last month that went for above $3 million, compared to 36 sales of the same price range in October 2016. The majority of these high-end sales were in the neighborhoods of Pacific Heights, the Marina District, Noe Valley, Eureka Valley, Cole Valley, and Sea Cliff.

While luxury home sales were up, condos didn’t see the same growth last month. The median condo price in October sold for $1.18 million, compared to a peak high of $1.2 million in August. Condo sales typically peak in the spring, while October has now become the strongest month for luxury home sales, according to Paragon.

Elsewhere in the Bay Area, home sale prices this year were also up in Marin, where the median price for condos and homes hit $1 million in September. That’s up 19.6 percent from the September 2016 median price of $840,000, per marinij.com.