Pennsylvania Rep. Mike Kelly (R) called for Democrats and Republicans to come together Sunday on Fox & Friends after a gunman killed 11 people in a Pittsburgh-area synagogue.

The alleged gunman, Robert Bowers, opened fire during a Shabbat service at the Tree of Life Synagogue in Squirrel Hill on Saturday.

"These are senseless acts of evil," Kelly said. "It's so important for all of us to gather around [and] understand that we have a role to play in this."

'We're Not Going to Get Bullied': NJ GOP Candidate Receives Letter Threatening His Family

'I'm Proud of My Country': HS Football Player's National Anthem Wows the Internet

The New York Times reported that a post attributed to Bowers on a chat website discussed the Hebrew Immigrant Aid Society (HIAS) two hours before the shooting.

"HIAS likes to bring invaders in that kill our people. I can’t sit by and watch my people get slaughtered. Screw your optics, I’m going in," the post said.

Kelly said on Sunday that people can sometimes get politics mixed up with policy, and that Saturday's tragedy was a "clarion call" for Americans to take action.

"If we can get away from the fact that we're Democrats and Republicans and just look at the fact that we're Americans, let's work together that way to unify the country."

He added that people need to "change their hearts" and understand one another as human beings.

'Today, We Are All Squirrel Hill': PA Rep. Says Synagogue Shooting Aftermath Is a 'Time to Be United'

'We’ve Had a Tragedy Here': Pittsburgh Public Safety Director Gives Update on Synagogue Shooting

Former Synagogue President: Working With DHS on Exit Routes Likely Saved Lives in Shooting