In this Wednesday, Feb. 15, 2017, photo, North Carolina State head coach Mark Gottfried watches during the second half of an NCAA college basketball game against North Carolina in Raleigh, N.C. North Carolina State says Gottfried won't return for a seventh season but will coach the remainder of this season. (AP Photo/Gerry Broome)
In this Wednesday, Feb. 15, 2017, photo, North Carolina State head coach Mark Gottfried watches during the second half of an NCAA college basketball game against North Carolina in Raleigh, N.C. North Carolina State says Gottfried won't return for a seventh season but will coach the remainder of this season. (AP Photo/Gerry Broome) Credit: Gerry Broome

Raleigh, n.c. — Mark Gottfried couldn’t reverse North Carolina State’s two-year slide in time to save his job.

The school announced Thursday that the coach is out after the season. The move comes as a once-promising season continues to unravel, with the Wolfpack struggling to compete in ACC play and losing games by lopsided margins.

Gottfried had a 122-82 record with the Wolfpack, including NCAA Tournament trips in his first four years that included two Sweet 16 appearances.

But N.C. State has slid to 30-30 over the past two seasons — including 8-24 in ACC play.

N.C. State (14-13, 3-11 ACC) was picked to finish sixth in the 15-team ACC after adding one-and-done prospect Dennis Smith Jr. at the point and getting West Virginia transfer Terry Henderson back from an injury that cost him nearly all last season to go with experienced returnees Abdul-Malik Abu — formerly of Kimball Union Academy — and Maverick Rowan.

Michigan 64, No. 11 Wisconsin 58

Ann Arbor, Mich. — Moe Wagner scored 21 points and Zak Irvin broke out of a slump with 18, helping Michigan beat Wisconsin 64-58.

The Wolverines (17-9, 7-6 Big Ten) have won three straight to boost their chances at making the NCAA Tournament. The Badgers (21-5, 10-3) have lost consecutive games for the first time this season.

Women

No. 7 Notre Dame 84, Clemson 80

Clemson, s.c. — Marina Mabrey scored 24 of her career-high 29 points in the second half to help Notre Dame (24-3, 12-1 ACC) hold off Clemson for its eighth straight victory.

Virginia 60, No. 4 FSU 51

Charlottesville, Va. — Dominique Toussaint scored five of her 14 points in the final 1:27, including the go-ahead 3-pointer, and Virginia (17-9, 6-7 ACC) held Florida State (23-4, 11-2) to five points in the fourth quarter.

No. 6 South Carolina 82Vanderbilt 51

Columbia, s.c. — Kaela Davis and Alaina Coates each scored 15 points and South Carolina (22-3, 12-1 SEC) rebounded after a loss to No. 1 Connecticut that stretched the Huskies’ winning streak to 100.

No. 13 Duke 79, Wake Forest 53

Winston-Salem, n.c. — Lexie Brown had 24 points, seven assists and four steals and Duke (23-4, 11-3 ACC) took control in the third quarter to beat Wake Forest.

No. 15 N.C. State 70, Wake Forest 58

Chestnut Hill, Mass. — Dominque Wilson scored 23 points and North Carolina State (20-6, 10-3 ACC) overcame a slow start to beat Boston College and reach 20 victories for the second straight season.

Indiana 72, No. 20 Michigan 61

Bloomington, Ind. — Tyra Buss had 21 points, seven steals and three assists to help Indiana (18-8, 8-5 Big Ten) beat a ranked opponent for the first time this season. Katelynn Flaherty led Michigan (21-6, 10-3) with 23 points.