Jermain Defoe handed Tony Adams his first victory as Portsmouth boss in a dramatic finish at Sunderland as his penalty earned a 2-1 win.
The England striker converted an injury-time spot-kick to snatch all three points after the Black Cats had failed to make the most of a host of opportunities,
Algerian midfielder Nadir Belhadj (51) had earlier blasted a left-footed shot past keeper Marton Fulop to cancel out Djibril Cisse's opener just four minutes into the game.
Cisse ran onto Andy Reid's pass to slot home but he was then denied twice by David James before the break and then had a second-half header disallowed for offside, while Kieran Richardson hit a post with the keeper beaten.
But Pompey rallied after the restart to equalise before El-Hadji Diouf brought down Glen Johnson and Defoe converted the penalty low and hard.