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.
|A-League Review: Simon haunts managerless Mariners, Jakobsen opens City account|
|Ricciardo: I´ve been shot in the ankle before season has even started|
|Alvarez temporarily suspended over positive test|
|Ronaldo trumps Salah, Messi missing - winners and losers from Friday´s internationals|
|Giggs wants Bale to stay at Real Madrid|
|Canes end Highlanders´ winning run|
|Bottas ´sorry´ for qualifying crash|
|Muller and Ozil set to miss Brazil friendly|
|´I wanted to wipe the smile off your face´ - Hamilton-Vettel rivalry already simmering|
|Ramos hails Spain´s belief after Germany draw|
|Buffon not ready to walk away as Italy look to the future|
|Hamilton breaks records to take pole in Melbourne|
|Curry suffers MCL sprain in first game back from ankle injury|
|Rain ruins day three in Auckland|
|Celtics get another short-handed win, Curry injured again|
|Wozniacki exits as Venus, Konta cruise in Miami|
|Wozniacki stunned by Puig in Miami|
|Mexico 3 Iceland 0: Layun scores brace in friendly win|
|Djokovic struggles continue as Cilic, Dimitrov progress|
|Usain Bolt not ready for top level, says Stoger|
|Ronaldo is a goal – Santos hails Portugal star|
|Pro Bowl TE Bennett announces retirement from NFL|
|Broncos acquire Veldheer from Cardinals for sixth-round pick|
|Dustin Johnson smashes 489-yard drive at Match Play|
|Celtics star Irving to have procedure on knee|
|Giants lose Bumgarner, Samardzija to injuries days before season opener|
|Dybala and Icardi World Cup chances not over yet, says Sampaoli|
|Reed dumps Spieth out, Harman accounts for McIlroy|
|James: Colombia can´t get carried away with France win|
|Italy to wait on Verratti injury|
|Lopetegui happy with Spain showing against ´physically stronger´ Germany|
|Warriors rampant, Weir inspires Edinburgh|
|Messi has had hamstring injury for ´some time´|
|Forward-thinking Southgate makes case for England´s defence|
|McLeish to ring Scotland changes for Hungary clash|
|Rodrigo dedicates Spain goal to Canizares after death of son|
|France were taught a lesson in aggression by Colombia, says Deschamps|
|Late Simmonds penalty breaks Bath hearts|
|Ronaldo up to third on all-time list after Portugal brace|
|Cowboys boost receiving corps with Allen Hurns signing|
|Tigers cling on to win Elland Road thriller, Saints respond at Hull KR|
|Meunier expects PSG will sack Emery|
|Tony Romo finishes last in PGA Tour debut|
|Germany friendly emotionally important for Brazil - Tite|
|France 2 Colombia 3: Quintero completes stunning comeback in Paris|
|Portugal 2 Egypt 1: Late Ronaldo double stuns Salah-inspired Pharaohs|
|No Messi, no Magic – Sampaoli playing a risky game ignoring Dybala|
|Netherlands 0 England 1: Lingard strikes to ruin Koeman´s debut|
|Scotland 0 Costa Rica 1: McLeish suffers defeat in first game back|
|Argentina 2 Italy 0: Banega & Lanzini win it for Messi-less Albiceleste|
|Germany 1 Spain 1: Muller wonderstrike cancels out Rodrigo opener|
|Curry available to make Warriors return against Hawks|
|Paire ousts out-of-sorts Djokovic in Miami|
|Ibrahimovic: If I want to go to the World Cup, I´m there|
|Michael Bennett indicted for allegedly injuring paraplegic woman|
|Svitolina ends Osaka winning run in Miami|
|Australia not ready for World Cup – Van Marwijk|
|Turkey 1 Republic of Ireland 0: Topal strike downs O´Neill´s men|
|Norway 4 Australia 1: Kamara hat-trick spoils Van Marwijk´s Socceroos bow|
|Aguero to miss Argentina friendlies|
|Monaco rubbish reports Rybolovlev will sell club and buy AC Milan|
|Harman sends McIlroy packing in Austin|
|Messi misses Argentina-Italy game|
|Neuer cautious over comeback date despite taking positive steps|
|Lehmann slams ´disgraceful´ Newlands abuse|
|Di Maria predicts ´big change´ at PSG after Champions League failure|
|Everton defender Holgate warned for alleged homophobic tweets|
|Russia 0 Brazil 3: Coutinho on target in routine win|
|Icardi must keep performing to earn Argentina recall, says Zanetti|
|Different place, same Zlatan - Ibrahimovic determined to maintain winning DNA with LA Galaxy|