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.
|Xavi: My teams will never use Mourinho´s style|
|I knew what I got myself into - LeBron appreciates Lakers are a work in progress|
|Mourinho: Ronaldo loves United but he will want to score|
|Cooper completes Rebels move and takes parting shot at Reds coach Thorn|
|Bellerin amazed by ´born champion´ Ozil|
|Penguins, kangaroos and ´Stone Cold´ Steve Austin: Halloween comes early for Trail Blazers|
|Ronaldo gunning for United, Aguero targets double record - Champions League in Opta numbers|
|Ill Vardy couldn´t stomach penalty decision – Puel|
|LeBron´s Lakers lose again, Magic stun Celtics|
|Bartomeu: No Barca return for Neymar, Valverde contracted until 2020|
|Simmons and ´stimulating´ 76ers in NBA Finals mix, says Longley|
|Falcons heap further misery on Giants|
|Vidic hails Ronaldo as ultimate professional ahead of Old Trafford return|
|Warriors´ Cousins nearing NBA return|
|Pogba can´t do the basics – Souness criticises Man United star|
|Messi absence big blow for Barca as Icardi talks up Inter|
|´You can´t cry, that´s true´ – Ronaldo responds to Isco|
|Bartomeu: Barca still competitive without Messi|
|Bills RB McCoy remains in concussion protocol|
|Raiders place Marshawn Lynch on IR|
|Emery calm over title talk after another Arsenal win|
|Green: Warriors have to clean up defensively|
|Mariners say Bolt talks ongoing amid reports contract offer was rejected|
|Proud captain Ozil revels in Arsenal´s ´sexy football´|
|Puel angry over Holding handball|
|Cilic breezes through in Basel, Anderson fights back|
|Ingram: Four-game ban better than we expected|
|Raiders send Cooper to Cowboys for first-round pick|
|Arsenal 3 Leicester City 1: Outstanding Ozil inspires comeback win|
|World Series 2018: Three reasons why the Dodgers will win|
|Yarmolenko out for six months after Achilles surgery|
|World Series 2018: Three reasons why the Red Sox will win|
|Ozil eclipses Klinsmann to become Premier League´s most prolific German|
|Allegri expecting Old Trafford battle against Mourinho´s United|
|Bertens feared she did not belong in Kerber clash|
|Returning Ronaldo expecting ´tough´ game against Manchester United|
|Cristiano Ronaldo confident of clearing his name amid rape allegation|
|Osaka looking to learn from losing start in Singapore|
|Kovac expects tough test against AEK Athens|
|Whyte gives Chisora deadline over rematch|
|Spartak Moscow sack Massimo Carrera|
|Atletico Madrid confirm fresh injury issue for Gimenez|
|Dolberg extends Ajax contract after Real Madrid links|
|Ronaldo an example for Lukaku to follow|
|Bertens battles back to blast past Kerber|
|Ramos apologises for training ground fracas|
|Raikkonen should take heed of Alonso misfortune as F1 career winds down|
|Guardiola wants Manchester City fans to push team to Champions League glory|
|Isco not interested in departed Ronaldo - he didn´t want to be here|
|World Series 2018: Three storylines to watch in Red Sox-Dodgers|
|Neymar focus bad for football - PSG´s Maxwell|
|Marco Ianni charged by FA over Jose Mourinho touchline row|
|Stephens sees off Osaka in see-saw Singapore battle|
|I´m happy at Manchester United - Mourinho dismisses Real Madrid reports|
|Semenya and Asher-Smith head IAAF Female World Athlete of the Year shortlist|
|Mandzukic to miss Manchester United trip|
|I turned down Manchester United to return to Juventus - Bonucci|
|Sanchez out of Manchester United´s clash with Juventus|
|Australia make Short work of run chase in T20 win|
|Brotherly g-love! Tommy Fury follows Tyson into the pros|
|Ozil´s international retirement can help Arsenal - Emery|
|If you sack Lopetegui, you have to sack us all – Isco|
|Lopetegui defiant amid Real Madrid sack reports|
|Sri Lanka spinner Herath to retire after Galle Test|
|Ronaldo returns for Old Trafford welcome amid disquieting noise|
|Garcia claims third Andalucia Valderrama Masters title|
|Ex-England international Waldrom retires|
|´Massive personality´ Hart can lift Burnley, says Kompany|
|Liverpool felt wrath of ´emotional´ Klopp, says Shaqiri|
|Reid: Jenkins capitalised on Kaepernick movement|