City are safe from the threat of relegation.
So are Hereford after a draw which ultimately suited both sides as they made mathematically sure of survival with a game to spare.
Jake Speight put the Bantams ahead late on with a penalty but Stuart Fleetwood levelled with a free-kick three minutes from time.
Thanks to Barnet's defeat at Accrington, both sides will be playing League Two football again next season.
City carried the early threat against their nervous hosts and could have grabbed the lead after 12 minutes.
Omar Daley picked off Fleetwood's loose pass to feed Speight but his low shot was well snaffled by keeper Adam Bartlett.
City tried to use the strong wind behind them and shoot from distance - Gareth Evans in particular - without further troubling the home goal.
Hereford had a penalty shout turned down after Lee Bullock's challenge on Nicky Featherstone.
And City had a scare just before the break when Fleetwood failed to make contact in front of goal after Lenny Pidgeley had pushed out Joe Colbeck's cross.
It had been a scrappy game with few moments of excitement and the second half began in the same low-key manner.
Hereford went close in the 66th minute as Steve Leslie nutmegged Lewis Hunt on the touchline before Fleetwood curled just wide of the far post.
Pidgeley parried from Featherstone as Hereford picked it up and then unconvincingly pushed away Waide Fairhurst's flick header.
But it was City who broke the deadlock with nine minutes left. James Hanson was tugged to the floor by Stefan Stam and Speight sent the keeper the wrong way with a decisive spot-kick.
City's hopes of making it back-to-back wins were dashed six minutes later, though. Hunt fouled Fairhurst just outside the box and Fleetwood curled a low free-kick beyond the diving Pidgeley.
That was the last incident as both teams were happy to play out the closing stages.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules hereLast Updated:
Report this comment Cancel