WATCH: Paul Ryan and Nancy Pelosi address congressional baseball shooting

House Speaker Paul Ryan said he was “horrified” by the shooting of lawmakers and staff at a congressional baseball practice early Wednesday morning.

“We are united in our shock, we are united in our anguish,” Ryan, R-Wisc., said in a speech on the House floor at noon. “An attack on one of us is an attack on all of us.”

Appearing visibly emotional at times, Ryan called on his colleagues to come together and put political differences aside. “For all the noise and all the fury, we are one family,” he said.

House Minority Leader Nancy Pelosi echoed Ryan’s call for unity.

The shooting “is an injury in the family,” Pelosi said from the well of the House, in a short speech after Ryan’s. She added, “we will use this occasion as one that brings us together, not separates us further.”

The brief remarks came roughly five hours after a man opened fire on a group of House Republicans practicing at a field in Alexandria, Va. for the upcoming congressional baseball game.

House Majority Whip Steve Scalise, R-La., was injured along with several Capitol Hill police officers and a congressional staffer.

Scalise was taken to MedStar Washington Hospital Center for surgery. House Majority Leader Kevin McCarthy, R-Calif, said later that Scalise was out of surgery and in recovery.

President Donald Trump condemned the shooting in brief remarks at the White House. Trump also said that the shooter, identified as 66-year-old James T. Hodgkinson, had died.

House Republicans said they plan to go forward with the game, which is scheduled for Thursday.

WATCH: Trump addresses shooting at congressional baseball practice