STANFORD, Calif. — Freshman Audi Crooks scored a career-high 40 points on 18-for-20 shooting in her sensational NCAA tournament debut, and No. 7-seeded Iowa State hit all the big shots in the second half to rally from 20 points down and beat 10th-seeded Maryland 93-86 on Friday night.

The 20-point comeback marked the second-largest all time in an NCAA tournament game, trailing only Texas A&M overcoming a 21-point deficit to beat Penn in 2017.

Emily Ryan knocked down a 3-pointer with 6:06 remaining and finished with 18 points while dishing out 14 assists as Iowa State kept pounding the ball inside to the ever-reliable Crooks — even when it led to a handful of late turnovers.

Crooks, the program’s first freshman to earn AP All-America honors with her honorable mention selection this week, came in leading the team averaging 18.9 points and 7.7 rebounds and became the 16th player to score 40 or more this season. She had 12 rebounds against Maryland.

The Baltimore Banner thanks its sponsors. Become one.

Allie Kubek knocked down all five of her 3-pointers in the first half and finished with seven from long range on the way to a season-best 29 points, and it looked as if Maryland might run away from the Cyclones.

Instead, it’s Iowa State (21-11) advancing to play Sunday for a spot in the Portland Regional, its opponent to be either No. 2 seed Stanford or 15th-seeded Norfolk State.

Kelsey Joens hit a tying 3-pointer with 3:20 left in the third quarter as Iowa State used a 10-0 run to get back in the game. Crooks’ three-point play at the 2:50 mark put the Cyclones ahead 62-61 before she scored again the next time down.

Kubek’s hot hand from 3-point range got Maryland (19-14) going early from the perimeter, and the Terrapins had to make things tough on 6-foot-3 Iowa State freshman star Crooks in the low post as she came in shooting an NCAA-best 58.4% from the floor.

Maryland made nine 3s in the first half, its most in any half this season — and the 11 total 3s were the Terrapins’ high.

The Baltimore Banner thanks its sponsors. Become one.

This was a coaching reunion between close friends. Longtime Cyclones coach Bill Fennelly hired now-Terrapins coach Brenda Frese on his first staff in Ames and she stayed with the program from 1995 to 1999. They posed for a photo before the game.

The programs had never met previously — and Frese’s team reached its 14th straight NCAA tournament after an upset of Ohio State in the Big Ten tournament before losing to Nebraska.