James Hanson's second-half strike earned League Two side Bradford an FA Cup second-round replay with League One high-flyers Brentford.
Clayton Donaldson gave the visitors the lead against his home-town club after good build-up work from Paul Hayes and Adam Forshaw down the right-hand side.
Brentford's leading scorer then came close to grabbing his second, but saw his goal-bound shot saved by Matt Duke.
Hanson levelled from 10 yards after the Bees defence failed to clear.
Substitute Nahki Wells came close to winning the game for the hosts but saw his shot rebound off the post.