Kyle Blanks packed the game of his career into two innings Monday night.

Blanks, who slid home with the tying run on a passed ball in the ninth, drove in Chris Denorfia with a one-out, bases-loaded single the 10th inning to give the Padres a 4-3, come-from-behind, walk-off win over the Philadelphia Phillies before 26,265 at Petco Park.

“That was an awesome win, that’s what I like to call a character win,” said Chase Headley who also had key at-bats in both the game-tying and game-winning rallies.

Blanks’ game-winning hit was the outfielder’s career-high fourth of the game. He also drove in the Padres first two runs with a single in the ninth to equal his career high in RBIs.

The game-winning rally came one inning after the Padres wiped out a 3-0 deficit against Phillies ace Cliff Lee – who was three outs away from the 13th complete-game shutout of his career – and closer Jonathan Papelbon.

“It looked a little bleak,” said Padres manager Bud Black. “A guy like Cliff Lee in the ninth inning of a shutout, he was still throwing the ball great.”

The Padres comeback started when Carlos Quentin opened the ninth with a sharp single to left and Chase Headley followed with a double inside the third base bag to put Padres at second and third and bring in Papelbon from the bullpen.

Papelbon immediately gave up a two-run single to Blanks and hit Jesus Guzman with a pitch before getting Yasmani Grandal to ground into a double play.