Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 2 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 3 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter Screenshot

Image 4 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 5 of 37

Image 6 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 7 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 8 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter Screenshot

Image 9 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 10 of 37

Image 11 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 12 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 13 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 14 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter Screenshot

Image 15 of 37

Image 16 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 17 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 18 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 19 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 20 of 37

Image 21 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 22 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 23 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter Screenshot

Image 24 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 25 of 37

Image 26 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter Screenshot

Image 27 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter Screenshot

Image 28 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 29 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter Screenshot

Image 30 of 37

Image 31 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 32 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 33 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 34 of 37

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Politicians and friends react to news that San Francisco Mayor Ed Lee died early Tuesday morning.

Photo: Twitter

Image 35 of 37

Image 36 of 37

FILE - Mayor Ed Lee announced the new San Francisco police chief as William Scott, a veteran Los Angeles deputy chief, during a press conference, at City Hall, in San Francisco, Calif., on Tuesday, Dec. 20, 2016. less

FILE - Mayor Ed Lee announced the new San Francisco police chief as William Scott, a veteran Los Angeles deputy chief, during a press conference, at City Hall, in San Francisco, Calif., on Tuesday, Dec. 20, ... more

Photo: Gabrielle Lurie, The Chronicle

Image 37 of 37

Social media users react to San Francisco Mayor Ed Lee's death

1 / 37

Back to Gallery

Bay Area residents woke up to the shocking news that San Francisco Mayor Ed Lee died early Tuesday morning at the age of 65.

Many turned to Twitter to express their condolences for the mayor in the hours following the news. In a tweet, New York City Mayor Bill de Blasio called Lee a "tireless fighter for the people of San Francisco."

Rep. Eric Swalwell wrote, "Rest In Peace, Mayor. Wishing Ed's family peace as they grieve. We will miss Ed dearly. He was a friend to all and the devoted servant #SanFrancisco needed during such a transformational time."

Related Stories

San Francisco Police Department Officer Albie Esparza, a police spokesman, shared a photo of the two on Twitter, writing, "Very sad day for SF, passing of a good, kind person, Mayor Ed Lee. Thoughts and prayers with his family and loved ones during this very difficult time."

Lee collapsed while shopping at the Safeway grocery store on Monterey Boulevard near his Glen Park home at about 10:30 p.m. Monday and was taken by ambulance to San Francisco General Hospital. He died at 1:11 a.m., surrounded by his friends and family.

The mayor's office released a brief statement early Tuesday morning confirming Lee's death, stating in part: "Our thoughts and prayers are with his wife Anita, his two daughters, Brianna and Tania, and his family."

News of Lee's unexpected death shocked and saddened city officials, many of whom respected the moderate mayor even when he was their political adversary.

"I am utterly and totally grief stricken," said Supervisor Malia Cohen, who wept as she spoke Tuesday morning. "My heart breaks for (Lee's wife) Anita and the mayor's daughters. The entire city family is grieving right now. It's a very stressful and difficult time. We'll get through it together. I'm in shock, it's still hard for me to believe. I was just with him on Saturday."

The mayor's office full statement read: "It is with profound sadness and terrible grief that we confirm that Mayor Edwin M. Lee passed away on Tuesday, December 12 at 1:11 a.m. at Zuckerberg San Francisco General Hospital. Family, friends and colleagues were at his side. Our thoughts and prayers are with his wife Anita, his two daughters, Brianna and Tania, and his family."

See reactions from mayors and fellow politicians in the slideshow above.