Tranmere Rovers lost their 100 per cent home record in Coca-Cola League One, in a controversial clash against Wrexham.
Both sides finished with ten men and Red Dragons manager Denis Smith was ordered from the dugout after an hour, after protesting about Rovers' equalising goal.
There was little between the sides in the opening period with neither keeper tested. But Wrexham went ahead after 38 minutes when Chris Armstrong fired into the right corner from a Hector Sam pass, after a Darren Ferguson free-kick.
Sam almost got a second just before the break, but home keeper John Achterberg made a terrific save.
Tranmere exerted strong pressure after the break and the equaliser came in the 59th minute. Welshman Gareth Roberts blasted home, from a Paul Hall pass, after a quickly taken free-kick by Mark Rankine.
Smith's dismissal followed, following the intervention of the fourth official. Tranmere went down to ten men in the 80th minute, when defender Michael Jackson was red-carded after he threw the ball at Armstrong, who was preventing him taking a throw in.
Armstrong was yellow carded and also went for an early shower as he had already been cautioned in the 25th minute for a foul.
Andy Dibble made a fine save to deny Rankine and, as Tranmere pressed hard in the closing minutes, substitute Chris Dagnall went agonisingly close to grabbing a winner on three occasions.