Arkadiusz Milik converted a twice-taken penalty as Poland came from behind to draw 1-1 with 10-man Portugal in the Nations League.
Poland were already relegated from Group 3 but, after Andre Silva scored to give Portugal a first-half lead, Milik's equaliser ensured Jerzy Brzeczek's side a share of the points and a place in pot 1 for the Euro 2020 qualifying draw at the expense of Germany.
Portugal, who clinched a place in the Nations League Finals with a goalless draw against Italy on Saturday, put in an improved display but Poland's physical approach helped them muscle their way back into the contest after the break.
Danilo Pereira felled Milik in the box in the 62nd minute and was shown a red card, with the striker having to score twice from 12 yards out after his initial attempt was ruled out due to encroachment.
Renato Sanches was Portugal's most dangerous attacking outlet and it was his corner that was converted by Silva, whose flicked effort caught Wojciech Szczesny out to reach the net.
Poland almost hit back within minutes when Tomasz Kedziora sent a looping header onto the crossbar, the woodwork keeping Portugal ahead at half-time.
The second half was played at a faster pace and swung from end to end before Poland found a response just after the hour mark.
Danilo reached his arm across Milik's back as the Napoli forward bore down on goal and referee Sergey Karasev had no hesitation in sending off the Porto player, though the hosts held out for a draw after conceding from the spot.
What does it mean? Both sides satisfied
Portugal remain unbeaten in their last six games and will be confident of improving when Bernardo Silva returns from injury, while Poland will be delighted to have potentially eased their path to Euro 2020.
Sanches steps up
In the absence of Bernardo Silva and Cristiano Ronaldo, Sanches was Portugal's attacking catalyst and the man once dubbed the nation's great hope appears to be back on track.
Danilo should know better
Placing an arm on a striker as they prepare to shoot is only ever going to produce one outcome, and the experienced Danilo can hardly have been surprised when Milik tumbled to the ground.
Portugal can look forward to the Nations League Finals on home turf in 2019, while Poland's attention now turns to qualifying for Euro 2020.
|O´Neal thinks his Lakers teams could ´easily´ beat Warriors|
|A-League to add two clubs by 2020|
|Curry says he was ´obviously joking´ about moon landing comments|
|Now the beautiful part starts – Ronaldo ready for Champions League knockout stage|
|Bayern have a lot more potential – Lewandowski not satisfied despite top spot|
|Lyon star Fekir shares plaudits for Champions League progression|
|Mourinho not surprised by United´s defeat to Valencia|
|Motivation no issue for Benfica, claims Vitoria|
|Lewandowski finishes Champions League group stage as top scorer|
|Mourinho: We scored two goals and lost 2-1!|
|England have a diamond - Guardiola hails City´s Foden|
|Sterling´s carefree display invites us to love football more than others hate|
|Juventus achieved their objective, despite everything going wrong – Allegri|
|Never say never - Schmidt not ruling out All Blacks role|
|Bologna´s winning start ended in BCL|
|Di Francesco critical of Roma performance|
|Shakhtar Donetsk 1 Lyon 1: Fekir fires French side through in Group F|
|Benfica 1 AEK Athens 0: Grimaldo sends hosts out on a high|
|Young Boys 2 Juventus 1: Hoarau double seals famous victory|
|Manchester City 2 Hoffenheim 1: City through as group winners after Sane brace|
|Ajax 3 Bayern Munich 3: Kovac´s men clinch top spot in Amsterdam thriller|
|Valencia 2 Manchester United 1: Jones scores own goal as Red Devils limp through|
|Solari accepts responsibility for Madrid´s heaviest home defeat in Europe|
|WATCH: Rooney backs Rocky ahead of Canelo showdown|
|McLaren to collaborate with Team Bahrain Merida|
|Las Vegas to host 2020 NFL Draft|
|Stade teenager tragically dies after neck injury|
|Cahill may need to leave Chelsea if he wants to play, admits Sarri|
|Viktoria Plzen 2 Roma 1: Chory winner takes hosts into Europa League|
|Real Madrid 0 CSKA Moscow 3: Champions humiliated at Bernabeu|
|Sarri condemns ´disgusting´ Sterling abuse|
|Hansen hails outstanding Ben Smith ahead of Pau switch|
|Foden, Sterling start for Manchester City v Hoffenheim|
|Sky decision will not affect us in 2019, insist Froome and Thomas|
|Al Ain 3 Team Wellington 3 (aet, 4-3 on penalties): Shootout heartbreak for semi-pros in Club World|
|Jackson to remain Ravens´ starting QB despite Flacco return|
|Rams headline 2019 NFL International Series home teams|
|Rams headline International Series home teams for 2019|
|Atlanta want ´exciting football´ from new boss amid Bielsa links|
|Atlanta still yet to receive ´serious´ bid for ´Bale-like´ Almiron|
|Tottenham v Manchester United to be held at Wembley|
|Matip facing six weeks out with fractured collarbone|
|I´ve had quite a lot of calls – Brailsford encouraged by Team Sky interest|
|Afghanistan Football Federation president provisionally banned by FIFA|
|Knee injury rules Huddersfield´s Mooy out of Asian Cup|
|Arnautovic tipped for Man United move by Austria team-mate Sabitzer|
|Arsenal legend Adams to become RFL president|
|My love for football still burns strong – Toure speaks out amid talk of Premier League return|
|Noble contract extended to 2021|
|Split with Sky is an opportunity, says Brailsford|
|Van der Burgh rolls back the years, two more medals for Hosszu|
|Maitland-Niles praises Sterling for speaking out|
|Life is tough for him right now - Celtic striker Griffiths to take time away from football|
|Froome: Team Sky keen to continue with new partner|
|Emery confirms Koscielny to play against Qarabag|
|Llorente keen on Athletic return|
|I love the guy - Pocock backs under-pressure Cheika|
|Fit-again Ozil in line for Arsenal return against Qarabag|
|Raheem Sterling named Premier League Player of the Month|
|Two more Ligue 1 games postponed due to unrest|
|Pace attack among India´s best ever - Arun|
|Premier League has fostered ´excessive aggression´ among fans, says Scudamore|
|Sharks back Flanagan amid NRL investigation|
|Not good for my recovery! Hoddle delights in Spurs´ Champions League heroics|
|Harris backing Starc to fire in Perth|
|No fears over Atleti´s second-place finish for Simeone|
|Clippers buckled under Raptors pressure - Rivers|
|Icardi: Inter deserved to qualify|
|Team Sky future unclear as Sky opt to end involvement in cycling|
|PSG had to change mentality - Thiago Silva|