Cheltenham Town continued preparations for the new league season with defeat to an impressive Birmingham City side at the Jonny-Rocks Stadium.
Blues took a first half lead through Charlie Lakin, who neatly tucked home from close range after a deflected shot ran into his path.
The visitors extended their lead just after the break when Bez Lubala headed home a corner from close range.
And the final word went to Senegal international Chiek N'Doye who slotted home a late penalty to seal the win for the visitors.
Cheltenham named seven summer signings to play a first game on home soil, with just two weeks until the big kick-off in Sky Bet League Two.
The new-look Robins held their shape well under early examination from a youthful Blues outfit, with N’Doye eager to get on the ball and control the pace after his World Cup exploits.
It was Blues created the first meaningful chance of the game when striker Viv Soloman tricked his way into the penalty area and flashed a shot across the six-yard box.
At the other end, Kalvin Kalala worked a free kick with a clever spin on halfway before Alex Addai was taken down on the right wing and Joshua Debayo fired in a set piece that was collected by Connal Trueman in the away goal.
Good handling from the fit-again Scott Flinders saw him get right behind a shot on the turn from Soloman, after good work down the right by Bez Lubala for Blues.
Addai continued to look a real threat wide right, as he broke past one defender, after latching onto a sweeping cross field ball from Conor Thomas, before firing in a low cross that was turned away for a corner.
Blues, however, took the lead on 26 minutes with a slice of good fortune as Steve Seddon's initial effort was well blocked by Will Boyle, but the ball ran kindly into the path of Lakin who prodded the ball under Flinders.
The Robins looked to respond with a free kick from Debayo causing real confusion and N'Doye finally cleared the ball from under his feet from six yards out.
Then lovely strength and quick feet from Nigel Atangana saw him ride a challenge in midfield before he fed Addai who again whipped over a dangerous cross before the break.
Blues extended their lead six minutes after the break when Lubala got to a corner before Flinders and it bounced off him and rolled over the line.
Flinders was at his very best just a few minutes later, though, as he flung himself to his right to brilliantly push aside a drilled shot from Steve Seddon.
Blues had the ball in the net when O'Keefe turned the ball home, after Lakin's volley was parried away, but the offside flag cut short any away celebrations.
Kalala twisted and turned inside the Birmingham box and skipped past one or two before seeing his goalbound effort deflected over for a corner.
Gary Johnson made four changes to freshen up his Robins for the final 15 minutes.
Ben Tozer and Tom Smith both flashed shots over the bar in the final stages as the home side looked to mount a spirited finale to no avail.
But it was Blues that struck late as a minute from time Atangana was adjudged to have fouled McFarlane and N'Doye sent Flinders the wrong way from the spot.
Robins: Flinders, Long (Bower 74), Mullins, Boyle, Debayo (Forster 74), Broom, Tozer, Thomas (Smith 74), Addai, Atangana, Kalala (Lloyd 74). Subs not used: Lovett (Gk), Duncan, Briscoe, Brennan
Birmingham: Trueman, Dacres-Cogley (Amartey 87), Roberts, Harding, Seddon, Bernard, Ndoye, Lakin, O’Keefe (McFarlane 72), Lubala, Soloman. Subs not used: Weaver (Gk), Stirk, Martin, Redmond.
Referee: Kevin Johnson
Attendance: 2,234 (1,218 from Birmingham)