Besiktas qualified for the knockout rounds of the Champions League for the first time in the club's history thanks to an entertaining 1-1 draw at home to Porto on Tuesday.
The Turkish champions knew any positive result would confirm their historic progression - and top spot in Group G - but they had to come from behind at a typically raucous Vodafone Park.
Porto took the lead against the run of play after 29 minutes, Alex Telles combining with Ricardo Pereira from a set piece to tee up Felipe for a stunning first-time strike.
Besiktas scored a deserved equaliser before the interval, Cenk Tosun doing brilliantly to set up attacking partner Anderson Talisca for a straightforward close-range finish.
Both sides had chances to win the game in the second half, Ryan Babel hitting the crossbar with a speculative strike and Ricardo Pereira wasting a fine opening, but the points were shared.
Porto will host Monaco on the final matchday, the Portuguese side not yet sure of their place in the next round despite having seven points on the board.
Besiktas almost opened the scoring after six minutes when an inviting cross from Ricardo Quaresma on the right was marginally too high for Tosun and Talisca.
Babel - who wrapped up Besiktas' 3-1 win at Porto earlier in the group - then forced Jose Sa into an unconvincing save with a swerving effort from long range.
But despite the hosts' strong start in an intimidating Istanbul atmosphere, the crowd was silenced after 29 minutes.
A quick free-kick was fed to Ricardo Pereira, the winger's low cross thumped home by Felipe's first-time strike that gave goalkeeper Fabri no chance.
Quaresma burst in behind the Porto defence to force a smart stop from Sa as Besiktas responded well, but the visitors should have doubled their lead when Vincent Aboubakar blasted Ricardo Pereira's cross over the crossbar.
And that miss was swiftly punished as Besiktas levelled five minutes before the break.
With the help from Cenk Tosun,— Beşiktaş JK English (@BesiktasEnglish) November 21, 2017
Beşiktaş 1-1 Porto pic.twitter.com/y1mU5MkXkC
Babel's flick freed Tosun, the striker finding space with an impudent touch over Maxi Pereira's head and showing great awareness to square for Talisca to roll the ball into the open goal.
Besiktas maintained their dominance after the interval and Babel was inches away from scoring a sensational goal after 57 minutes, cutting inside and thudding a 25-yard drive against the crossbar.
Sa then turned away a powerful Quaresma drive and Porto spurned a glorious chance moments later, former Besiktas striker Aboubakar bursting into the box to set up Ricardo Pereira, who refused to shoot with his left foot and instead bent a poor effort wide with the outside of his right boot.
Both teams appeared to settle for a draw in the closing stages, leaving Besiktas to celebrate a historic night, while Porto face a nervy matchday six clash with Ligue 1 champions Monaco.
|LeBron James saves Cavaliers from elimination|
|Peru FA president weighs in on Paolo Guerrero´s drugs ban appeal|
|Kevin Love ruled out of Game 6 for Cavaliers after concussion|
|Prescott says Cowboys don´t need top receiver|
|MLB extends Roberto Osuna´s administrative leave for third time|
|Rose shoots 64 to take Fort Worth lead|
|James Harden not worried about shooting struggles|
|Green: Spurs star Leonard wants to stay in San Antonio|
|Griezmann could help Barcelona a lot, says Umtiti|
|Moyano hat-trick helps Jaguares sink 14-man Sharks|
|Mbappe rejected Real Madrid for PSG - Monaco´s Vasilyev|
|Rovers rock Warriors as Wolves bite back to see off Hull|
|Thiem through in Lyon as Fucsovics closes in on historic first title|
|Hughes signs three-year Southampton deal|
|Barty suffers injury scare in Strasbourg|
|Ruthless Montpellier overpower Lyon to reach Top 14 final|
|Rabiot hits out at Deschamps criticism|
|Low: Messi more complete than Ronaldo|
|Marvellous McIlroy moves three clear at Wentworth|
|Brighton confirm deal for Deportivo striker Andone|
|No offers for Lyon captain Fekir, Aulas claims|
|Pakistan turn the screw to frustrate England at Lord´s|
|Rashid leaves Knight Riders in the shade as Sunrisers reach IPL final|
|Madrid not favourites for Champions League final - Zidane|
|Don´t compare Salah to Messi and Ronaldo, says Ramos. They´re in a different orbit!|
|Van Dijk: Liverpool is my team, Anfield is my home|
|Ronaldo at ´140 per cent´ is good enough for Zidane|
|People like to talk - Marcelo responds to misquoted Klopp|
|French Open 2018: Hopes of sensational Serena success raised by Roland Garros draw|
|Houston Rockets without Chris Paul for game six|
|Ostapenko used to life in the spotlight ahead of French Open defence|
|Red Sox designate Hanley Ramirez for assignment|
|Liverpool motivated by Europa League pain - Henderson|
|Reus relishing Favre reunion at Borussia Dortmund|
|Phenomenal Froome claims stunning Giro lead as Yates capitulates|
|Bertens, Kontaveit and Kasatkina – Can Ostapenko´s Roland Garros fairytale be matched?|
|Klopp less excited about second final appearance|
|It´s funny if two managers in the final have no clue about tactics - Klopp defends Zidane|
|Salah´s long-term potential ´not important´, says focused Klopp|
|It´s kind of unreal - Kvitova surprised by her success ahead of French Open return|
|Man United and Real Madrid favourite Beckham begs Zidane to beat Liverpool|
|Storm and Raiders snatch dramatic wins|
|Boateng desperate for ´best in the world´ Neuer to play|
|Great players have to play here - Real Madrid´s Marcelo continues Neymar courtship|
|Salah can win Ballon d´Or with Champions League triumph, says Luiz|
|Roland Garros wins ´exactly the same´ for Nadal regardless of Federer involvement|
|Rebels romp past Sunwolves, Crusaders retain top spot|
|Halep ´stronger mentally´ as she seeks first grand slam title|
|Cipriani on bench for Baa Baas clash|
|Ronaldo´s rival Salah shifts focus back to Liverpool versus Real Madrid|
|Two arrested in Kiev after clashes before Champions League final|
|Johnny Nelson leads tributes after death of Brendan Ingle|
|Batshuayi puts off Chelsea plans until after World Cup|
|Devon Smith back in Windies squad, Hamilton earns maiden call-up|
|Thiago hints at uncertain Bayern Munich future|
|Dhananjaya pulls out of Windies tour following death of father|
|I feel great - Kerr keeps faith with Warriors on the brink|
|Ronaldo: I can´t be compared with Salah|
|Buffon agent backs Paris Saint-Germain move|
|ICC confirms smart watches prohibited|
|Real Madrid v Liverpool: Champions League final in Opta numbers|
|Mane sends 300 Liverpool shirts to Senegal village for Champions League final|
|Arthur will not join Barcelona before December, Gremio insist|
|Real Madrid v Liverpool: Key battles in the Champions League final|
|Trout hits 15th HR, Bundy strikes out 14|
|Rockets star Paul dealing with hamstring injury|
|Does he only care about his hair? - Denmark coach Hareide slams Pogba, France|
|Rockets push Warriors to brink of elimination|
|World number 84 Kicker suspended for match-fixing|
|WATCH: Paul shimmies in Curry´s face|