Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

WASHINGTON — Rep. Steve Scalise, gravely wounded when a gunman opened fire on a congressional baseball practice three months ago, returned to the House on Thursday for the first time since the shooting, earning an emotional standing ovation from his colleagues.

“You have no idea how great this feels to be back at work at the 'People’s House,'” he said to several rounds of enthusiastic applause.

“As you can imagine, these last three-and-a-half months have been pretty challenging,” he said. “But if you look at the outpouring of love, of warmth, of prayer, my gosh, Jennifer and I have been overwhelmed,” he added, referring to his wife.

Scalise, from Louisiana and the third-ranking Republican in the House, was shot June 14 when a gunman opened fire on the party's congressional baseball team as they were practicing in Virginia. On Thursday, he thanked his colleagues, the U.S. Capitol Police, the security detail he had the day of the shooting — and God.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

“When I was laying out there on that ball field,” Scalise said, “I just started to pray.”

“And pretty much every one of those prayers were answered,” he continued. “I’m a living example that miracles really do happen.”

House Speaker Paul Ryan, who earlier had shed tears upon his colleague’s appearance, choked up once again as he announced the “return of our dear friend.”

“Our prayers have been answered,” Ryan said.

President Donald Trump also weighed in, calling Scalise a "special man" and "brave," adding that he was "so excited" the congressman was back.

"What happened to him is horrible," he told NBC News. "We are so happy."

Scalise, 51, was standing at second base when the shooting occurred, witnesses said. He was hit in the left hip but managed to drag himself into the outfield and was rushed across the Potomac River to a Washington hospital. He sustained injuries to his internal organs and required several operations.

In an interview with CBS’ “60 Minutes,” parts of which aired Thursday morning, Scalise explained that his femur “was shattered” and that his “hip and pelvis had serious damage where the bullet went through.”

His doctors, he explained, “did phenomenal job of rebuilding me, you know, kind of the rebuilding of ‘Humpty Dumpty.'”

“They put me back together again,” he said, laughing.