RICHMOND, Va. -- Krystal Griner and David Bailey were the Capitol Police officers shot and injured during Wednesday morning's attack on the Republican Congressional baseball team in Alexandria, Virginia, according to House Speaker Paul Ryan.
Both Griner and Bailey were members of former House majority leader Eric Cantor's security detail.
The Henrico native, who served in Congress from 2001 to 2014, praised the officers who helped keep him safe.
"Both David Bailey and Krystal Griner are trained professionals who assume the obligation of dignitary protection in a serious and consistent manner," Cantor said. "I was honored to have them serve in my security detail when I was majority leader. Their acts of bravery and heroism demonstrated this morning during the horrible attack in Alexandria are consistent with the individuals I know who never tired of being on alert no matter the threat."
The conditions of the Capitol Police officers have not yet been released. They were two of the people injured when alleged shooter James Hodgkinson, 66, of Belleville, Illinois, opened fire during Republicans' early-morning practice ahead of a charity baseball game. President Donald Trump said the alleged gunman had been killed.
Rep. Steve Scalise, a congressional staffer, and a lobbyist were also shot.
Scalise, the third ranking member of House Republican leadership as the majority whip, appeared to have been shot in the hip, Rep. Mo Brooks told CNN. A congressional staffer, Zach Barth, was also injured. Matt Mika, a lobbyist for Tyson Foods who sometimes practices with the team, was also identified as one of the victims, and Sen. Jeff Flake said Mika was the most seriously injured. House Speaker Paul Ryan also identified two members of the Capitol Police who were injured, Krystal Griner and David Bailey.
As of Wednesday afternoon, Scalise was in critical condition, according to MedStar Washington Hospital Center. A statement from Scalise's office released earlier Wednesday morning said Scalise was undergoing surgery.
Lawmakers who were there described a chaotic scene, with many members of the congressional GOP baseball team huddled in a dugout while Capitol police who were part of Scalise's security detail and local Alexandria police engaged in a shoot-out with Hodgkinson. Congressional and law enforcement sources described it as a "deliberate attack."
Later, House Republican and Democratic leaders called for unity and praised the police, while Trump in an address from the White House said that the prayers of the nation and world are with Scalise.
"Congressman Scalise is a friend, and a very good friend," Trump said. "He's a patriot. And he's a fighter. He will recover from this assault -- and Steve, I want you to know that you have the prayers not only of the entire city behind you, but of an entire nation, and frankly the entire world. America is praying for you and America is praying for all of the victims of this terrible shooting."
Members practicing for traditional baseball game
Members of Congress were practicing for a game that was scheduled for Thursday night at Nationals Park. Rep. Martha McSally, R-Arizona, said the game will still go on as scheduled. The annual game has been played since 1909, and McSally said lawmakers applauded the announcement at an all-members meeting.
In a statement, Texas Rep. Roger Williams, one of the team's coaches, said one of his staff members, legislative correspondent Zack Barth, was shot during the incident and is receiving medical attention. Williams tweeted Barth was "receiving medical attention but is doing well and is expected to make a full recovery."
The Capitol Police officers who were injured are "in good condition and have not suffered any life-threatening injuries at this point," Capitol Police Chief Matthew Verderosa said at a news conference.
Lawmakers describe a terrifying scene
Lawmakers who spoke at the scene to reporters described a normal morning practice, at a field where they've practiced for years, when suddenly shots rang out. Lawmakers, staff members and even the young son of one of the members ran for cover, jumping into dugouts and over fences to avoid the gunshots.
Members described Scalise dragging himself roughly 15 yards away from second base, where he had been playing, and lying there until the shooter was neutralized, at which point some of them ran to assist him and apply pressure to the wound until he could be evacuated. Once they were able, Flake said he and Rep. Brad Wenstrup, who is a physician, went to where Scalise was lying to apply pressure to the wound. Scalise was coherent the whole time, Flake said.
Kentucky Sen. Rand Paul told CNN "it would have been a massacre" without the Capitol Hill Police officers present.
"Nobody would have survived without the Capitol Hill police," Paul said on CNN. "It would have been a massacre without them."
"We had nothing but baseball bats to fight back against a rifle with," Alabama Rep. Mo Brooks said.
Flake added that he saw a member of Scalise's security detail return fire on the gunman for what felt like 10 minutes, even though the police officer was wounded in the leg.
"Fifty (shots) would be an understatement, I'm quite sure," Flake said when asked about the total amount of gunfire, including police returning fire.
Brooks said the shooter was behind the third base dugout and didn't say anything.
"The gun was a semiautomatic," Brooks said, adding that he was sure it was a rifle but unsure what kind. "It continued to fire at different people. You can imagine, all the people on the field scatter."
Shooter identified
Hodgkinson's Facebook page is largely political, his profile picture is a caricature of Bernie Sanders as Uncle Sam.
The Facebook feed is filled with anti-Trump sentiments such as "Trump is guilty and should go to prison for treason."
He also "liked" a political cartoon that suggested Scalise should be fired. On March 22, he posted "Trump is a Traitor. Trump Has Destroyed Our Democracy. It's Time to Destroy Trump & Co."
Vermont Sen. Bernie Sanders said both in a statement and on the Senate floor that he had learned the shooter volunteered on his presidential campaign -- and that he condemned the shooting "in the strongest possible terms."
"I have just been informed that the alleged shooter at the Republican baseball practice is someone who apparently volunteered on my presidential campaign," Sanders said.
"I am sickened by this despicable act. Let me be as clear as I can be. Violence of any kind is unacceptable in our society and I condemn this action in the strongest possible terms," he said. "Real change can only come about through nonviolent action, and anything else runs against our most deeply held American values."
Capitol Hill increases security, cancels events
The news of the shooting reverberated on Capitol Hill, where security was increased and regular proceedings were canceled or postponed.
Ryan condemned the shooting and praised the Capitol police on the House floor later Wednesday.
"We are united. We are united in our shock. We are united in our anguish. An attack on one of us is an attack on all of us," Ryan said, drawing a bipartisan standing ovation.
He also said he'd seen an image of members of the Democratic congressional baseball team huddled in prayer after learning of the shooting.
"Every day we come here to test and to challenge each other. We feel so deeply about the things that we fight for and the things that we believe in. At times, our emotions can clearly get the best of us. We are all imperfect. But we do not shed our humanity when we enter this chamber. For all the noise and all the fury, we are one family," Ryan said.
The House decided to not hold any votes on legislation Wednesday, and many hearings were delayed. The House Natural Resources Federal Lands Subcommittee also canceled a scheduled meeting to debate gun legislation.
Capitol Hill Police notified congressional offices that the security presence on the Hill would be increased "out of an abundance of caution."
Members of Congress targeted in the past by violence
Scalise is the first member of Congress to be shot since former Arizona Rep. Gabby Giffords in January 2011. Giffords was shot in the head by Jared Lee Loughner at a "Congress On Your Corner" event at a Tucson grocery store. Giffords, who authorities said was the main target of the shooting, survived the attack but six others were killed and an additional 12 were injured.
Loughner pleaded guilty in 2012 and was sentenced to life in prison without the possibility of parole.
CNN's Phil Mattingly, Dana Bash, Deirdre Walsh, Eugene Scott, Peter Morris, Karl deVries and Noa Yadidi contributed to this report.