Both were murdered by Dan White, who was very anti-gun.
https://www.city-journal.org/dan-white
“White delivered the keynote address at the California Coalition for Handgun Control’s 1977 annual meeting. Like Feinstein, he supported gun control (he sometimes carried a firearm himself).”
I remember the movie ‘Execution of Justice’ with Tim Daly as Dan White. Can’t find the movie anywhere now I suspect because it cast Dan White in a sympathetic position. He was absolutely tormented by the freaks/system in San Francisco because he was straight and against homosexuality. That’s about all I remember about it but I do remember believing that he had been driven to what he did.