The Bantams fell to their second home defeat of the league season at the death, losing 2-1 to Crawley Town.
A Tony Craig header deep into added time saw City beaten at Valley Parade, having been in the driving seat at half-time.
The first real opportunity of the game fell City’s way. Paudie O’Connor knocked the ball through to Cook but the striker could not keep his effort down after escaping his defender.
The Bantams did however take the lead just after half an hour in with a well-worked goal.
Charles Vernam wriggled free out wide before picking out Cook at the back post who was able to head home his 10th goal of the season.
Crawley started the second half stronger, though Jamie Walker's brilliant solo run set up Cook, whose shot was saved well from point-blank range by Glenn Morris.
The visitors' first real chance of the game did not come till the 70th minute when Mark Marshall’s shot was denied by Alex Bass.
Just minutes later, however, Tom Nichols equalised for the away side with a header at the far post, after Marshall's floated ball in.
With 15 minutes to go Walker hit one from distance but his effort was just narrowly over, as the Bantams went in search of a second.
Though it was the visitors, in the 95th minute, who clinched all three points, when a free-kick was stood up to the far post allowing Tony Craig to nod in.
CITY: Alex Bass (GK); Finn Cousin-Dawson (booked 34’), Paudie O’Connor, Niall Canavan (c), Matthew Foulds; Yann Songo’o (Levi Sutton 80’), Callum Cooke, Jamie Walker (booked 23’); Matty Daly (Tom Elliott 73’), Andy Cook, Charles Vernam (Alex Gilliead 62’). SUBS (not used): Sam Hornby (GK), Theo Robinson, Reece Staunton, Caolan Lavery.
GOALS: Andy Cook (31’).
CRAWLEY: Glenn Morris (GK), Archie Davies (booked 57’), Mark Marshall, Tony Craig, Reece Grego-Cox (Mark Marshall 67’), Tom Nichols, Ashley, Nadesan, James Tiley (booked 55’), Jordan Tunnicliffe, Jack Payne, Joel Lynch (Nicholas Tsaroulla 32’). SUBS: (not used): Taylor Seymour, Tyler Frost, Sam Matthews, Nick Tsaroulla.
GOALS: Tom Nichols (71’), Tony Craig (90+5’).
REFEREE: Ben Toner (Lancashire).
ATTENDANCE: 14,623 (120 from Crawley).