A dramatic 94th-minute strike from goalkeeper Eloy Casals sent FC Santa Coloma through to the UEFA Champions League second qualifying round for the first time at the expense of ten-man FC Banants.
With the Andorran team trailing 3-2 on aggregate and their opponents numerically disadvantaged following the 68th-minute dismissal of Gevorg Nranyan for a second booking, Juvenal hit the post on 86 minutes before Casals fired in from Iban Parra's header deep into added time to secure the principality outfit an unlikely away-goals success.
A double from Rumyan Hovsepyan, his free-kick and penalty conversions sandwiching Garegin Mashumyan's 47th-minute effort, had helped the Armenian outfit come from behind to lead 3-2 in the tie. Ildefons Lima had built on Marc Pujol's first-leg goal for Santa Coloma with a drive from 35 metres.
Richard Imbernón's charges will face Maccabi Tel-Aviv FC in the next round with the first leg taking place in Israel next week.