Jamie Vardy scored a dramatic injury-time goal to send Leicester into the knockout stage of the Europa League with a draw against Braga.
The substitute turned home Marc Albrighton's cross as the Foxes came from behind three times to draw.
Al Musrati blasted Braga ahead and Harvey Barnes equalised before Paulinho netted for the hosts.
Luke Thomas got the Foxes level and Fransergio looked set to win it for Braga before Vardy's late goal.
Zorya Luhansk's 3-0 win at AEK Athens in the group's other game meant a draw was enough for Brendan Rodgers' side.