David Ayres figured his days of playing competitive hockey were over 15 years ago when he underwent a kidney transplant.

It turned out, he had one more big game to play, and it would be in front of more than 18,000 people.

Carolina Hurricanes emergency goaltender David Ayres salutes the crowd after getting a standing ovation for making eight saves to help the Hurricanes pick up a win in Toronto. John E. Sokolowski / USA TODAY Sports via Reuters

Ayres told TODAY Monday that he initially thought it was a joke when he was told to suit up and to emergency goalie for the Carolina Hurricanes against the Toronto Maple Leafs on Saturday night after the team's starting and backup goalies were injured.

"Actually, I did think it was a prank,'' the 42-year-old father of three said. "When the guy first came into the room he said, 'Get your stuff on, we're going out on the ice,' I said, 'Are you serious?'"

The NHL has a rule mandating that home teams have an emergency goalie in attendance who is available to both teams.

"I was confident until I hit the ice, and then I got terrified," Ayres said. "I just wanted to make sure I got on the ice and didn't fall down."

Ayres works as the director of operations at the Mattamy Athletic Centre, a local arena in Toronto, where one of his duties is driving the Zamboni to smooth the ice in the rink. But on Saturday night, he came to the rescue for the Hurricanes.

We'll never forget last night in Toronto pic.twitter.com/K6mp2c7Jpu — Carolina Hurricanes (@Canes) February 23, 2020

Trending stories,celebrity news and all the best of TODAY. This site is protected by recaptcha

Entering the game in the second period with the Hurricanes leading 3-1, Ayres had a shaky start, allowing two quick goals. But he quickly settled down, with a save in the second period and seven more in the third.

By the end of the game, the crowd was in a frenzy, even though it was the Maple Leafs' home ice. Ayres shut out Toronto in the third period to help wrap a 6-3 win for the Hurricanes.

"The first two shots went in, and that wasn't good for me,'' he said. "It kind of killed the confidence for a second. I had to regroup.

"One of the players came down to me, and he said, 'Just relax, this is gonna be fun for you, have a good time with it. We don't care how many goals you let in, and let's just have fun.'''

His night ended with a standing ovation from the Toronto crowd.

"That was cool,'' he said. "After the game was over I kinda got off the ice and I was thinking to myself, 'Alright, I made it through that.' When I stepped back on the ice, most of the crowd was still there and they were really cheering, so that was pretty cool."

Ayres then got showered with water by his Hurricanes teammates upon entering the locker room.

A memory we'll all have forever pic.twitter.com/LUxqs8o3Wr — Carolina Hurricanes (@Canes) February 23, 2020

"I had no idea that was coming,'' he said. "Next thing you know I'm having the shower before I even get in the shower."

Not only did he have a blast, he also made a piece of history, becoming the oldest goalie in NHL history to win his regular season debut at 42 years and 194 days. He was paid $500, and he said his stick was sent to the Hockey Hall of Fame in Toronto.

Making it even more remarkable: Ayres thought his hockey career was finished after he had a kidney transplant at 27.

"When I first got it, I thought I'm done playing hockey at all," he said.

The donor was his mother, Mary, who surprised him on TODAY Monday with a phone call that left him in tears.

"I was always very proud of you from the beginning, and this has just made me so extremely proud," she. "I have no words. I couldn't sleep for the first night. It's amazing."

The Hurricanes immediately started selling No. 90 Ayres jerseys after the game. The proceeds will go to benefit a kidney foundation in North Carolina, Ayres said.

Dave will be getting royalties, but we are also working with him to identify a kidney foundation that will receive a portion of the proceeds https://t.co/RwSNg12DA4 — Carolina Hurricanes (@Canes) February 23, 2020

Ayres became just the third emergency goalie to ever play in an NHL game in the modern era and the first since accountant Scott Foster was pressed into service for 14-minute stretch with the Chicago Blackhawks in 2018. Ayres said Foster text messaged him on Sunday congratulating him on his performance.