Hull City moved three points clear in second place in the npower Championship after Ahmed Elmohamady grabbed an 87th-minute winner against Derby County.
Steve Bruce's side turned in a poor first-half display at the KC Stadium but broke the deadlock two minutes after the restart when Egyptian forward Gedo, a January deadline-day signing, scored having been summoned from the bench at the interval.
That looked like being enough for three important points until Northern Ireland international Jamie Ward levelled for Derby in the 84th minute.
Gedo's compatriot Elmohamady then won it for the hosts just three minutes later, before the Rams saw Gareth Roberts sent off in the closing seconds.
Middlesbrough's Play-Off hopes received a shot in the arm as they broke a sequence of five successive defeats with a 1-0 home win against Leeds United.
Curtis Main was the match-winner, netting nine minutes from time to leave his side four points clear in sixth place, though he was sent off shortly afterwards.
Boro's nearest challengers are Brighton and Hove Albion, who drew 1-1 with visiting Blackburn Rovers.
Scott Dann gave Rovers a 24th-minute lead but Vicente claimed a point for the Seagulls from the penalty spot after Danny Murphy transgressed.