TAMPA, Fla. – Dylan Thompson came off the bench to throw a 32-yard touchdown pass with 11 seconds remaining Tuesday, giving No. 11 South Carolina a 33-28 victory over No. 19 Michigan in the Outback Bowl.

Thompson replaced Connor Shaw during the winning drive, covering the final 43 yards after the Gamecocks' starter began the march from his own 30. Devin Gardner's third TD pass of the game had given Michigan a 28-27 lead.

Shaw threw for 227 yards and two touchdowns after missing South Carolina's regular-season finale against Clemson with a left foot sprain. Thompson led the Gamecocks (11-2) to a victory over their archrival and threw for 117 yards and two TDs as a backup Tuesday.

Gardner threw for 214 yards in his fifth start for Michigan (8-5) since Denard Robinson injured his right elbow in late October. Robinson took some snaps at quarterback, but lined up mostly at running back and rushed for 100 yards on 23 carries.