Tottenham overcame yet another injury setback to reach the last 16 of the Europa League as teenage record-breaker Mikey Moore sealed victory over Elfsborg.
Spurs, who were already without 12 players because of injury and ineligibility, lost substitute defender Radu Dragusin when he went down hurt in the second half with the game goalless.
But substitute Dane Scarlett, 20, lifted the mood by heading the home side into a 70th-minute lead before 19-year-old fellow substitute Damola Ajayi made it 2-0.
Seventeen-year-old winger Moore then fired his first goal for the club in the fourth minute of stoppage time, a wonderful low finish after a powerful run.
In doing so, London-born Moore (17 years and 172 days) broke Jimmy Greaves' record (17 years and 245 days in October 1957) to become the youngest-ever English scorer in major men's European competition.
Spurs had struggled to find a way through the Swedish team's stubborn defence in the first half.
Moore went closest before half-time after clever play by Son Heung-min, but Isak Pettersson produced a reflex save to frustrate the home side.
Elfsborg - playing their 16th game in the competition after starting in the first qualifying round - went close themselves through Jalal Abdullai in the second half before Scarlett set Spurs on their way.
Spurs finish the league phase in fourth place with 17 points and can now concentrate on domestic matters until the last-16 stage in March after avoiding a play-off tie in February.
Ange Postecoglou's side will face one of Real Sociedad, Galatasaray, AZ Alkmaar or Midtjylland next in the competition.
Spurs offer a glimpse into future
This was a glimpse into how Tottenham's new generation might be shaping up as three of the club's highly rated youngsters scored their first senior goals for the club.
Scarlett's guided header came after a lovely cross by Dejan Kulusevski, before Ajayi's confident finish put Spurs in control.
Moore's delightful effort showed just why he is being tipped for a bright future by so many.
With injuries biting, Tottenham will hope to be in a healthier position on all fronts by the time they play their next game in the Europa League on 6 March.
Postecoglou's side are 15th in the Premier League and without a win in seven in that competition before Sunday's London derby at Brentford (14:00 GMT).
Now Dragusin's injury is a real concern.
The Romanian defender joins a spiralling injury list that already includes the likes of Dominic Solanke, James Maddison, Brennan Johnson, Cristian Romero and Destiny Udogie.
Spurs will hope Dragusin's setback is not too serious.
Player of the match
After the opportunity to rate players has closed, the score displayed represents the average from all the submissions by BBC Sport users.