Two of Braga's former players returned to haunt it as CFR Cluj claimed the spoils in the UEFA Champions League group stages.
A classy brace from Brazilian striker Rafael Bastos sealed victory in the first half with Mario Felgueiras in sparkling form between the sticks to keep his former employer at arm's length.
Braga controlled possession throughout at the Estadio AXA but finished the night bottom of Group H, while Cluj tops the mini-league having scored one more goal than Manchester United, which beat Galatasaray 1-0.
A first half played at breakneck speed was born in the sixth minute as Custodio's goalbound effort was repelled at full stretch by Felguieras.
But Cluj survived the early pressure and went close itself, Pantelis Kapetanos skewing a speculative drive wide, before the Romanian side took the lead in the 19th minute.
Bastos raced onto Moudou Sougou's excellent pass after a quick break to beat the stranded Beto low to his right.
It fell to Felgueiras to stand tall and deny Antonio Eder a quick equaliser from six yards, the Braga striker soon trying his luck from outside the box before Hugo Viana saw his long-range drive smothered.
Its lead preserved, Cluj went on the offensive once more, Kapetanos carving open Braga's defence with a wonderful piece of skill before shanking wide of the target with only Beto to beat.
But its disappointment was shortlived as Bastos capitalised on a mistake by Nuno Coelho to weave between two Braga defenders and steer home a magnificent drive with the outside of his right boot.
Beleaguered Braga was presented with a chance to reduce the deficit before the break but Eder's weak effort was foiled by Felgueiras when it had been easier to score.
Felgueiras would spare his side's blushes once again after the interval, pulling off a stunning save as Ruben Micael roamed into his area to meet a dangerous cross.
Bastos might have completed his hat-trick in the 53rd minute when he slammed the ball over the crossbar before Viana unsuccessfully tried his luck from distance at the other end.
Marcio Mossoro embarked on a mazy dribble from deep but could not find the angle to beat Felgueiras as the hour mark passed.
Cluj retreated into its own half and was nearly punished as Ze Luis nodded just wide of a post after Coelho had stung Felgueiras' palms with a free-kick.
Kapetanos was presented with a clear chance to wrap up victory in the 76th minute but instead struck the ball fiercely against Beto's midriff.
Eder threw himself at Mossoro's accurate cross but could not keep his header down as Cluj held out for a first Champions League victory in four years.