Match ends, Bradford City 0(2), Bury 0(4).
Ten-man Bury beat Bradford after a penalty shootout in which Jacob Mellis scored the winning spot-kick.
Both sides failed to take good chances before the visitors had defender Nathan Cameron dismissed after 40 minutes.
A Josh Morris strike hit the post for the hosts but the game went into extra time, during which a shot from Bury's Danny Pugh also struck the woodwork.
In the shootout, Steve Davies and Devante Cole missed for Bradford as Bury progressed to face Hull.
Mellis got his side's winner but keeper Ian Lawlor was the hero as he made some crucial saves during the game against a Bradford side who produced one of the great FA Cup results last season when they beat Chelsea.
Lawlor kept out a James Meredith effort in a frantic finale before saving the spot-kicks of Davies and Cole to set up a fourth-round tie at home to Championship side Hull.
Bradford boss Phil Parkinson: "Against 10 men it is difficult, it kind of changed the mood, the man getting sent off.
"We've got to make sure we don't wear this disappointment too heavily. The more you make of it, the worse it gets. We've just got to stay positive.
"Working on the training ground isn't a bad thing to do. Hopefully we will take a bigger percentage of chances we get. That percentage has to go up for us to start winning games comfortably."
Bury manager David Flitcroft: "It was a performance full of character. We had to sit deep, look to counter, and grab something. Once we got to the last half hour I felt I could sniff penalties.
"They stood firm - character, resilience, everything you want from a team."
Relive Tuesday night's FA Cup action
Watch highlights of all Tuesday's FA Cup replays
Line-ups
Bradford
Formation 4-4-2
- 1Williams
- 2Darby
- 5Clarke
- 23McArdle
- 3Meredith
- 29McMahon
- 4Evans
- 18RoutisSubstituted forClarkeat 66'minutes
- 7MarshallSubstituted forDaviesat 85'minutes
- 33JamesSubstituted forMorrisat 66'minutes
- 44Cole
Substitutes
- 10Clarke
- 11Knott
- 14Morris
- 15Leigh
- 17Reid
- 24Davies
- 30Cracknell
Bury
Formation 4-4-2
- 1LawlorBooked at 107mins
- 19Soares
- 27CameronBooked at 40mins
- 40Brown
- 3HusseyBooked at 90mins
- 4Tutte
- 6EtuhuSubstituted forMellisat 120'minutes
- 22Pugh
- 10MayorBooked at 61minsSubstituted forLoweat 115'minutes
- 11PopeSubstituted forClarkeat 42'minutes
- 9Clarke
Substitutes
- 2Riley
- 5Clarke
- 8Mellis
- 12Sedgwick
- 15Lowe
- 20Burgess
- 31Miller
- Referee:
- Geoff Eltringham
- Attendance:
- 6,227
Match Stats
- Possession
- Home54%
- Away46%
- Shots
- Home19
- Away3
- Shots on Target
- Home5
- Away1
- Corners
- Home9
- Away4
- Fouls
- Home9
- Away15
Live Text
Post update
Penalties over
Penalty Shootout ends, Bradford City 0(2), Bury 0(4).
Goal!
Goal! Bradford City 0(2), Bury 0(4). Jacob Mellis (Bury) converts the penalty with a right footed shot to the bottom left corner.
Post update
Penalty saved! Devante Cole (Bradford City) fails to capitalise on this great opportunity, right footed shot saved in the bottom right corner.
Goal!
Goal! Bradford City 0(2), Bury 0(3). Leon Clarke (Bury) converts the penalty with a right footed shot to the bottom right corner.
Goal!
Goal! Bradford City 0(2), Bury 0(2). Lee Evans (Bradford City) converts the penalty with a right footed shot to the top left corner.
Goal!
Goal! Bradford City 0(1), Bury 0(2). Ryan Lowe (Bury) converts the penalty with a right footed shot to the bottom left corner.
Post update
Penalty saved! Steve Davies (Bradford City) fails to capitalise on this great opportunity, right footed shot saved in the bottom right corner.
Goal!
Goal! Bradford City 0(1), Bury 0(1). Andrew Tutte (Bury) converts the penalty with a right footed shot to the top left corner.
Goal!
Goal! Bradford City 0(1), Bury 0. Tony McMahon (Bradford City) converts the penalty with a right footed shot to the bottom right corner.
Penalties in progress
Penalty Shootout begins Bradford City 0, Bury 0.
Post update
Second Half Extra Time ends, Bradford City 0, Bury 0.
Post update
Foul by Lee Evans (Bradford City).
Post update
Ryan Lowe (Bury) wins a free kick in the defensive half.
Substitution
Substitution, Bury. Jacob Mellis replaces Kelvin Etuhu.
Post update
Attempt missed. Devante Cole (Bradford City) left footed shot from the centre of the box misses to the left.
Substitution
Substitution, Bury. Ryan Lowe replaces Danny Mayor.
Post update
Attempt missed. Lee Evans (Bradford City) right footed shot from outside the box misses to the right.
Post update
Attempt saved. James Meredith (Bradford City) left footed shot from the centre of the box is saved in the bottom right corner.
Post update
Attempt missed. Andrew Tutte (Bury) right footed shot from outside the box is too high.