Stanford has never lost a national semifinal match, going 5-0 in those situations.

CHICAGO -- Third-seeded Stanford grinded out a five-set win in true Cardinal fashion, taking out No. 2 seed BYU (25-18, 21-25, 22-25, 29-27, 15-12) on Thursday in the NCAA semifinals at Gentile Arena.

Stanford reaches the national title match for the fifth time in program history, having won the title in 1997 and 2010. The Cardinal is 5-0 in NCAA semifinal matches.

The fourth time was a charm for the Cardinal, which had lost its previous three matches to the Cougars this season, including the MPSF tournament finals in Provo on April 26.

Stanford won the opening set 25-18, but fell behind 2-1. It took a hard-fought 29-27 comeback in the fourth set, which had 19 tie scores and eight lead changes, to push the match to a fifth and final set. Again, the Cardinal had to rally from behind to seal the victory on a kill by senior Brian Cook.

The Cardinal outhit the Cougars .333 to .275, registering a season-high 69 kills. Cook led the team in kills for the 23rd time this season, finishing with 19 kills, 10 digs and three blocks. Senior opposite Eric Mochalski registered 18 kills on a .382 hitting percentage and five digs. He also tallied two blocks, one of which was a key point in the fifth set.

Senior outside hitter Steven Irvin added 17 kills, 12 digs and four blocks. Sophomore middle Conrad Kaminski pitched in with four kills, three blocks and four aces. He closed out the fourth set with an ace and then opened the fifth with an aces as well. Junior middle Spencer Haly totaled four kills and a team-best six blocks.

Sophomore setter James Shaw finished with 59 assists, five kills, six digs and four blocks. Redshirt junior Grant Delgado registered a career-high 19 digs and tallied four assists.

BYU was led by senior Taylor Sander, the AVCA national player of the year, who had a match-high 28 kills on a .375 hitting percentage and four aces. Josue Rivera added 10 kills, 11 digs and five blocks.