A top-ranking St. Louis high school canceled its football season — and fired its entire coaching staff — in light of a student-athlete switcheroo on the gridiron.

The abrupt decision is the result of junior running back Bill Jackson suiting up for Cardinal Ritter College Prep’s Aug. 31 season opener under a different number and roster name — even though he was supposed to be suspended, the St. Louis Post-Dispatch reported.

The squad went on to win against Nazareth Academy, 32-21, with Jackson — who played as the No. 24 freshman named Marvin Burks — rushing for 109 yards and scoring a 56-yard touchdown.

Now, school officials are scrambling to figure out how Jackson ended up on the field despite being ejected from a championship game the prior season, earning him a one-game suspension.

Jackson’s arm tattoos gave him away — they can be seen on the player in the No. 24 jersey during the game. At the matchup the following week, the junior donned his usual No. 4.

Cardinal Ritter president Tamiko Armstead released a statement Friday saying all of the football coaches have been “permanently released from Cardinal Ritter College Prep immediately” and that athletic director Preston Thomas “has made the decision to retire.”

The rest of the football season was also canceled, capping the Lions’ 7-0 run.