A Marcus Stewart penalty secured an FA Cup fourth-round berth for Sunderland against woeful Crystal Palace.
The home side dominated the first half but went behind on 40 minutes when Neill Collins poked the ball into his own net from Wayne Routledge's cross.
Andy Welsh, on his home debut, levelled things three minutes later with a curling free-kick that evaded everyone.
And on 58 minutes Stewart was hauled down by Fitz Hall when through on goal and cheekily converted from the spot.
The hosts hemmed Premiership Palace in their own half for most of the first period.
After five minutes Welsh clattered the bar from 10 yards and George McCartney headed wide on 23 minutes before Palace started to get into the game.
Vassilis Lakis dragged a shot wide after 27 minutes before Collins put the visitors ahead, prodding past Thomas Myhre from close range with Andy Johnson looming.
However, when Welsh scored from a hopeful free-kick just before the break it was no more than Sunderland deserved.
The Black Cats were again brighter after the break and Hall was lucky to escape with a yellow card before Stewart scored with a dinky penalty.
On 70 minutes Thomas Myhre came out well to deny Johnson but Palace created little in a dire second-half performance.
And it was Sunderland who finished strongest, Sean Thornton hitting the bar twice in the last 10 minutes and almost scoring after a surging run.