The Terps were ranked early in the season, but just missed out on an NCAA tournament bid. Their roster is poised to look a lot different next year.
The Terps split a doubleheader, falling to BYU before topping the Spartans.
The pitcher's big day contributed to the Terps clinching their final regular-season series.
Courtney Wyche limited the Fighting Illini's offense throughout the Terps' crucial win.
Montgomery started all five players celebrating their senior day in the second game of the Terps' doubleheader against Wisconsin on Saturday.
Courtney Wyche and Trinity Schlotterbeck combined to strike out 11 and only allowed three runs across the two games.
The Terps were 1-of-9 with runners in scoring position in the loss.
The Terps reached the 30-win threshold for the first time since 2013 with 11 games remaining in the regular season.
The Terps defeated North Dakota earlier on Friday in their home-opener.
The Terps went 2-3 in the Baylor Invitational and scored just two runs in the three losses.