Antolin Alcaraz's late goal sealed victory for Wigan and relegated Blackburn Rovers after 11 years in the Premier League.
The big defender struck with just three minutes of the match remaining to secure Wigan a deserved three points and ensure they are safe for another season of top-flight football.
Steve Kean's Rovers needed to win this match at Ewood Park to have any chance of surviving on the final day of the campaign this Sunday, but they didn't turn up when it mattered.
Wigan had the first effort on goal after nine minutes when Franco Di Santo eluded the challenge of Scott Dann and Bradley Orr before getting in down the left side of the Rovers area but his low strike was well saved by Paul Robinson.
Rovers' only real effort of note came on 11 minutes when Yakubu chested the ball down for Anthony Modeste to hit a first-time shot which curled just over the bar.
Victor Moses somehow got past Dann down near the left corner flag on 24 minutes but elected to shoot from a very tight angle and Robinson beat the ball out for a corner.
Wigan could have gone in front on 32 minutes but Gary Caldwell, when trying to get onto the end of a Di Santo knockdown from a free-kick, only managed to divert it away from Moses who was waiting to get a shot in from six yards.
Moses wasted the best chance of the half four minutes later when he failed to get a header on target from a few yards out at the back post following a great right-wing cross from Di Santo.
Blackburn improved slightly after the break and Yakubu had a close-range effort hacked off the line by Jean Beausejour on 54 minutes, before Junior Hoilett looked to be denied a clear penalty when he was fouled by Emmerson Boyce in the area just before the hour mark.
However, Wigan enjoyed the better chances in the final 10 minutes when Robinson did well to deny Moses and then James McCarthy before finally grabbing the ball in the ensuing scramble.
Shaun Maloney then wasted a brilliant chance on 83 minutes when he headed over when unmarked just six yards out after a lovely cross from Boyce down the right.
However, Alcaraz got the winner on 87 minutes when he got forward to power Beausejour's right-wing corner past Robinson from close range.