House Speaker Paul Ryan received a standing ovation to a packed House chamber as he told lawmakers, "We are united" after a man opened fire on Republican lawmakers as they prepared for a charity baseball game Wednesday morning.

"We are united," Ryan, R-Wis., said to applause. "We are united in our shock and we are united in our anguish. An attack on one of us is an attack on all of us."

Ryan praised the "tremendous bravery" of the Capitol Police, and said he spoke to the two Capitol Police officers shot in the attack.

"Without these two heroes... many lives would have been lost," Ryan said.

Ryan said lawmakers "are all horrified by this dreadful attack on our friends and colleagues and those who protect this Capitol."

Ryan also called on Democrats and Republicans to "slow down and reflect and think about how we are all being tested right now, because we are being tested right now."

Ryan, R-Wis.,colleagues said lawmakers should "join me to resolve to come together, to lift each other up and show the country to show the world we are the people's House, united in humanity."

Ryan added, "It is that humanity that will win the day and it always will."

Minority Leader Nancy Pelosi, D-Calif., called Ryan's remarks, "beautiful," and thanked Ryan, "for the sentiment they represent."