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.
|Manchester United 0 San Jose Earthquakes 0: Sanchez returns in uninspiring draw|
|Laporte jealous of France World Cup winners|
|Tamim fires Bangladesh to ODI success|
|Liverpool 1 Borussia Dortmund 3: Pulisic inspires comeback to deny Klopp win against old club|
|My game is back - Spieth finds Open positives despite tough final round|
|Barcelona pay tribute to retiring Marquez|
|Blow for Thomas and Froome as Moscon is excluded|
|Woods earns WGC-Bridgestone Invitational place with rankings boost|
|Clay specialist Cecchinato lifts Croatia title on return to red dirt|
|Molinari´s safety-first masterclass yields deserved Open triumph|
|Alisson to link up with Liverpool at Evian training camp|
|Woods´ return no fluke, insists Spieth|
|Johnson shrugs off shoulder injury to win second 2018 title|
|The Open 2018 diary: Kane an able golfer, hats off to Hossler|
|Tiger and Serena will talk through Open disappointment|
|Molinari: It wasn´t about being ruthless to beat Woods|
|Tiger ´ticked off´ at missed Open opportunity|
|The Open 2018: Molinari triumphs - how a dramatic final round unfolded|
|McIlroy: Great to be back in the mix|
|Open victory will take a long time to sink in, says Molinari|
|Stoke sign McClean from West Brom for £5m|
|Masterful Molinari clinches sublime Open win after Spieth, Woods fall away|
|Germany´s Ozil retires from international football|
|Vikings OL coach Tony Sparano dies|
|BREAKING NEWS: Magical Molinari wins The Open|
|Dalic claims to be world´s second best coach|
|Twelve-try Wakefield batter Hull to send Rhinos into Qualifiers|
|Sevastova cruises to Bucharest title|
|Cort Nielsen sprints to first Tour stage win, Thomas maintains lead|
|Sarri needs support to deliver Chelsea success - Zola|
|Pjanic and Rugani in Juventus tour squad as Ronaldo and World Cup stars are rested|
|Eagle has McIlroy soaring into a five-way tie for the lead at Carnoustie|
|Vettel will not lose any sleep after Hockenheim mistake|
|I manifested my dream – Hamilton revels in Hockenheim win|
|Pakistan seal crushing series sweep of Zimbabwe|
|Furious Ozil accuses German media of turning country against him|
|Woods makes his move as Spieth and Schauffele wobble|
|Vettel crash sees Hamilton retake championship lead|
|RFEF confirms one-legged Supercopa de Espana in Tangier|
|Fognini downs Gasquet to clinch Swedish Open|
|Spieth and Tiger underway as Kisner falls back|
|Iniesta, Torres suffer defeats in their J.League debuts|
|Cornet ends title drought in Gstaad|
|Martial ´very focused´ at Manchester United - Herrera|
|Root, Williamson and Bairstow - hat-trick hero Clark flourishes in Roses battle|
|Sri Lanka spinning towards crushing series whitewash|
|Ozil explains controversial Erdogan meeting|
|It´ll be hard for Tuchel to get our players – Kovac expects Boateng stay|
|Fakhar Zaman fastest to 1,000 ODI runs|
|Neymar happy for World Cup winner Mbappe|
|I was born ready! - Bellew accepts Usyk challenge|
|Tuchel seeks Rabiot answers as Barca rumours persist|
|In-form Storm go top, Rampant Roosters thrash Manly|
|Bancroft discharged from hospital after taking blow to throat|
|MLS Review: Martinez breaks record as Atlanta march on|
|Brewers top Dodgers to snap seven-game losing streak|
|Munguia wins after 12-round marathon with Smith|
|Hart ready to leave City to revive career|
|Puel shuts down Schmeichel transfer speculation|
|Four-way tie at Barbasol Championship as Lincicombe misses cut|
|Lenglet happy not to face Messi|
|Tuchel keen to get PSG stars back after friendly defeat|
|Pulisic signing would interest Klopp|
|Whatever b******t you say, no one forgets – Klopp defends spending comments|
|Usyk outclasses Gassiev to make cruiserweight history|
|Pella books Cecchinato meeting in Umag, Ramanathan´s Newport run continues|
|Kisner expects nothing but exchange of ´horror stories´ with housemate Spieth|
|Inter new boy Lautaro Martinez denies Zenit in six-goal thriller|
|McIlroy eyeing early gains to apply scoreboard pressure|
|The Open 2018 diary: Spieth´s close shave|