Governor Charlie Baker said Monday there’s no room for anti-gay hatred in Massachusetts or anywhere in society, a day after a gunman, described as intolerant of gay people, killed at least 49 men and women at gay nightclub in Orlando, Fla.

In the aftermath of the shooting, Baker said he spoke with his brother Alex, who is gay, and several friends who are gay and asked how they were feeling. “The answer I got, which I think is pretty consistent with the response you get from anybody in the LGBT community at the moment, was, ‘I spend a lot of time thinking that things are getting better, and that things are improving, and then we all discover that there are some people who just hate because of who we are.’ And there’s no room for that here in the Commonwealth or anywhere in society,” Baker told reporters at the State House. “We should, of course, do all we can to resist that.”