Connacht dented Cardiff Blues' Pro12 play-off hopes with their first away win over the Welsh side in the competition.
The hosts went into the game delighted at the
But tries by Danie Poolman and Willie Faloon to which Miah Nikora added 11 points proved too big a hurdle.
Harry Robinson and Robin Copeland went over for the hosts and fly-half Rhys Patchell kicked four penalties.
The home side were 12-down by the sixth minute as Poolman and Faloon caught them cold with Nikora adding a conversion.
But while Phil Davies' side did well to come back into contention and go in front midway through the second period, Connacht were able to secure victory.
The only occasion Connacht had previously managed a win in the Welsh capital was in the pre-regional era, when current coach Eric Elwood kicked them to a 6-3 success over the Cardiff club side in 2001.
Their chances were further diminished shortly before kick-off when Scotland international fly-half Dan Parks, who scored 347 points in 38 appearances for the Blues before moving to Galway for this season was ruled out by a hamstring strain.
Slick handling and skipper Gavin Duffy's intervention allowed Poolman to speed over at the flag and wing Fetu'u Vainikolo put Faloon through some weak defence for Nikora to convert.
Patchell's long-range penalty before helping to create their opening try by wing Harry Robinson after 20 minutes.
Nikora responded with a penalty to leave his side 15-8 ahead at the break.
A Patchell penalty rewarded the Blues' post-break pressure after Connacht hooker Jason Harris-Wright, impeded scrum-half Lewis Jones from an offside position.
And Harris-Wright was also sin-binned for the offence.
Another Patchell penalty was cancelled out by Nikora and when an aggressive Blues scrum allowed Patchell a further opportunity at goal the shot went wide.
Scrum-half replacement Liam Davies' deft handling sent Copeland galloping away to put the Blues ahead for the first time.
But Faloon darted over from a scrum for his second try and while Patchell's fourth penalty cut the gap to a single point, Connacht forced the Welsh region back into their own 22 and Nikora added another three points to secure victory.
Blues: Chris Czekaj; Owen Williams, Richard Smith, Gavin Evans (c) Harry Robinson; Rhys Patchell, Lewis Jones; Taufa'ao Filise, Kristian Dacey, Benoit Bourrust, Macauley Cook, James Down, Michael Paterson, Rory Watts-Jones, Robin Copeland.
Replacements: Ceri Sweeney for Patchell (76), Liam Davies for Jones (58), Rhys Williams for Dacey (67), Scott Andrews for Bourrust (58), Thomas Young for Cook (76).
Not Used: Trevett, Hamilton, G. Davies.
Connacht: Gavin Duffy (c); Danie Poolman, Eoin Griffin, Brian Murphy, Fetu'u Vainikolo; Dan Parks, Kieran Marmion; Brett Wilkinson, Jason Harris-Wright, Nathan White; Michael Swift, Andrew Browne; John Muldoon, Willie Faloon, Eoin McKeon.
Replacements: Paul O'Donohoe for Marmion (67), Denis Buckley for Wilkinson (58), Ronan Loughney for White (58), Mick Kearney for McKeon (67).
Not Used: Reynecke, Anderson, Healy, Jarvis.
Ref: Dudley Phillips (IRFU).