A red-card for a moment of madness from Marcus Danielson brought Sweden's Euro 2020 to an abrupt end on Tuesday. The Swedes crashed out with a 2-1 defeat in their last-16 match against Ukraine after plotting an almost perfect path through the group stage. Danielson's sending off nine minutes into extra time for a high tackle on Artem Besedin came just after Sweden went for broke by swapping in three attacking players in a gamble that did not pay off. Ukraine's Artem Dovbyk scored the winner at the end of stoppage time to derail a Swedish challenge that looked to be gaining momentum just before it came to a shuddering halt. Adhering to coach Janne Andersson's cagey game-planning, the Swedes opened with a scoreless draw against Spain before beating Slovakia 1-0 and Poland 3-2 to win Group E ahead of the Spaniards, and set up the meeting with Ukraine. Few gave the Ukrainians, who finished third in Group C, much chance against a Swedish side that seemed to be finding its feet. But despite dominating for long periods, Sweden's attack again failed to get the balance right. Alexander Isak started all four games but was paired with three different partners as Andersson tried to find the right mix. They were Marcus Berg, Robin Quaison and Dejan Kulusevski, who missed the early part of the tournament because of a positive Covid-19 test result. Although all four forwards showed flashes of brilliance, the misfiring attack was covered by the performance of Emil Forsberg, who scored four of Sweden's goals as Andersson gave him free rein. Sweden's midfield pairing of Kristoffer Olsson and Albin Ekdal struggled with the stifling heat and punishing pace during the four games, which were played in three different cities, and Andersson had little on the bench to replace them with. Sweden were solid and organised in defence but the lack of experience of Danielson, a late bloomer who made his international debut in October 2019 aged 30, was exposed when a routine clearance became a costly challenge against Ukraine. "There's no point in saying anything [in the dressing room] because there's nothing that sticks in a situation like this," a disappointed and emotional Andersson told TV4. Five years into a job that he says he would like to have for life, Andersson remains hugely popular with fans and players. But he needs to find a way to make the most of a talented generation of attacking players if that is to continue.