-- U.S. Capitol Police officers David Bailey and Crystal Griner were identified by House Speaker Paul Ryan as the two special agents injured in the shooting at a congressional baseball practice in Alexandria, Virginia.
Bailey and Griner were protecting House Majority Whip Steve Scalise, currently the third-highest Republican in the House. Nine other members of Congress have protective details because of their positions. Special Agent Henry Cabrera was also protecting Scalise but was not injured in the shooting.
"I want to commend Special Agents Crystal Griner, David Bailey and Henry Cabrera for their heroic and appropriate response in protecting the members and others today," said Capitol Police Chief Matthew Verderosa.
According to Verderosa, Griner was shot in the ankle and is in good condition in a hospital. Bailey sustained a minor injury, was treated and has been released.
Congressional staffer Zack Barth, who was shot, has also been released from a hospital, according to a family spokesperson. Scalise and lobbyist Matt Mika remain in critical condition, according to MedStar Washington and a statement from Mika's family.
Ryan said he spoke with both special agents Wednesday morning.
"One was being treated, and one was about to go into surgery," he said. "I expressed our profound gratitude to them."
"It is clear to me, based on various eyewitness accounts, that without these two heroes, Agent Bailey and Agent Griner, many lives would have been lost," said Ryan, who got a standing ovation in the House chamber.
The Capitol Police occasionally assigns an officer to attend baseball practices, on a case-by-case basis.
"There's usually a Capitol Police officer in a car in a parking lot several hundred yards away but no one on near the field like the Scalise detail was," said Matt Dinkel, the spokesman for Rep. Mike Doyle, the Democratic team's coach. "That was the situation today."
"The United States Capitol Police is dedicated to its mission to protect the U.S. Capitol, members of Congress, staff and the visiting public," said Verderosa, "today we saw how our officers' extensive training and quick response saved lives."
At a press conference Wednesday afternoon, Rep. Roger Williams, R-Texas, choked up while crediting Griner and Bailey for preventing the deaths of the 25 elected officials on the field and the 15 staffers who joined them.
"There will be those who talk about what's wrong with America, but in this case, Officers Griner and Bailey, we saw what's right with America," Williams said. "We saw two people risk their lives to save the lives of others. We saw courage in the face of death, and we saw examples of why all Americans should be grateful every day for law enforcement officers around this country."
Griner and Bailey were widely praised for their role in preventing a massacre on the baseball field today.
ABC News' Ali Rogin, John Parkinson and Mary Bruce contributed to this report.