The McDonald's at the end of Haight Street at Stanyan is not long for this world as the city has just about inked a deal to purchase the problematic property for redevelopment as housing. The Chronicle reports on the deal, which is still not yet finalized, saying via a source that the city is agreeing to pay $10 million for the prime parcel, which could accommodate about 90 units of affordable housing.

In addition to being a neighborhood nuisance for many years — back in 2015 we reported on the 641 police calls that the location had gotten in just over a year — this McDonald's has long been a haven of drug activity, as well as a hangout for homeless youth who spend their days in Golden Gate Park and elsewhere in the Upper Haight.

The straw that broke this camel came in the form of a shooting last month, possibly drug-related, that came eight months after this McDonald's got a new franchisee who appeared committed to cleaning the place up. That led almost immediately to talk by the Board and the Mayor of trying to acquire the property and raze this restaurant for good.

Now the Mayor’s Office of Housing is nearing a deal with the property owner, McDonald's Corp., to do just that, and the timeline of when the restaurant may close is unclear.

They then will need to find a developer, like a non-profit developer, to construct low- and middle-income units here — many of which are going to have choice views over Golden Gate Park.

“If we can pull this deal off and build affordable housing there, it would be amazing,” says Supervisor London Breed to the Chronicle, which also notes that the last affordable project in the neighborhood, some senior housing by Buena Vista Park, was built a decade ago.

And you would think that those homeless kids would be upset at the loss of cheap food, but no — in true SF fashion, these homeless kids tell the Chron they like the Whole Foods across the street better anyway.

Previously: City Mulls Buying Troubled Haight McDonald's, Flipping It For Affordable Housing