Premier League newcomers Burnley suffered a 2-1 defeat at Bradford as they opened their pre-season campaign.
The Clarets, who were promoted through the play-offs, took the lead in the 13th minute courtesy of Graham Alexander after former Bantam Robbie Blake had squared the ball to the midfielder.
However, the League Two side hit back with two goals before half-time.
James O'Brien equalised from 12 yards before Michael Boulding coolly slotted past Burnley goalkeeper Brian Jensen for the winner.