Emil Forsberg's second-half penalty ensured Sweden took a huge step towards qualifying for the last 16 at Euro 2020 with victory against Slovakia in St Petersburg.
RB Leipzig's Forsberg slotted in with 13 minutes remaining after substitute Robin Quaison was hauled down by goalkeeper Martin Dubravka.
The spot-kick ended a run of 365 minutes without a goal for Sweden at the European Championship, since their opening group game at Euro 2016.
While Slovakia could have secured their progress to the knockout stages with a win, Sweden now lead Group E with four points - one more than Slovakia who face Spain in their final match.
The final round of Group E games take place on Wednesday at 17:00 BST. Slovakia face Spain and Sweden take on Poland.