Senior Kyle Petty nailed a three-pointer in front of his own bench with 18.5 seconds left in the game to pull Ironwood Ridge within two points of Phoenix Mountain Pointe.
But that's as close as the Nighthawks got.
The visiting Pride held on for a 53-47 win Thursday night to advance to the second round of the Division I state tournament and end Ironwood Ridge's season.
"It gave us all the motivation and we were only down two," Petty said. "That gave us hope for a victory."
Following Petty's basket to make it 49-47, Mountain Pointe went end-to-end and Jalen Brown sank a layup to put the Pride up four. Then Tre Campbell pulled in a steal to set Brown up for a two-handed dunk as time ran out.
Petty also made a reverse layup with 31.8 seconds left to make it 49-44.
Although the game came down the final minute, I-Ridge coach Brian Peabody said it was Mountain Pointe's first possession that essentially decided the game.
"The tone was set in that very first possession when they got eight shots at the basket right off the bat," Peabody said.
No. 19 Mountain Pointe (15-12) got on the board in that possession when Kenny Lacy made one of two free throws after 49 seconds had run off the clock.
The 14th-seeded Nighthawks took a 5-1 lead after Jacob Hampton sank a three and a jumper within a minute of each other.
But Mountain Pointe retook the lead with 4:42 left in the first on a Campbell jumper.
I-Ridge (19-10) pulled within one just before the half when Mitch Fischer - who scored a team-high 16 points while dealing with an injured right ankle - drove to the basket, but the Nighthawks went into the break trailing by four.
"We came out a little flat but definitely picked it up in the second half," Fischer said.
They took a short-lived lead when senior Andrew Dohm connected with Petty for a basket after a steal with 2:23 left in the third but Mountain Pointe took it back permanently with 22.1 seconds left in the quarter.
I-Ridge junior Tyler Williams hit back-to-back three-pointers from the same spot late in the fourth to put the score at 43-42 with 2:08 left but the Pride responded with a pair of baskets.
"We had 10 seniors and they played really hard and had a really good season," Peabody said. "We won 17 games in a row and you can't fault their effort."