The Frenchman converted from the spot following Maurizio Domizzi's dismissal and then struck again in fine style shortly after teammate Michael Essien had been sent off.Jeremy Menez struck twice as AC Milan ended a five-game winless run by defeating Udinese 2-0 at the Giuseppe Meazza on Sunday.
The Frenchman opened the scoring after Maurizio Domizzi had been dismissed midway through the second half for taking down Keisuke Honda in the area.
Michael Essien then saw red for Milan but Menez scored a fine second goal to seal a vital victory for the home side.
The Rossoneri, who entered Sunday's game sitting seventh in the table on the back of their poor form, looked to impose themselves — only to initially run into an inspired Orestis Karnezis, who produced a string of world-class saves in the opening half.
They almost took the lead in the 10th minute, yet Giacomo Bonaventura just failed to connect with a superb cross from Stephan El Shaarawy.
Karnezis came to the fore seven minutes later, with a stunning save to deny Adil Rami. The defender rose highest to meet Bonaventura's corner at the near post, only for Karnezis to somehow divert it on to the woodwork — albeit with replays showing the ball may have been over the line.
Milan's frustration was added to significantly as El Shaarawy and Bonaventura hit wide from distance in quick succession.
Udinese came back into the game a little thereafter, although it was again indebted to Karnezis when he produced a one-handed stop to turn away El Shaarawy's shot.
That save paled in comparison to his next effort, however, with Karnezis getting down to his right to somehow turn away Menez's effort with his fingertips.
The second period continued in much the same vein, with the shot-stopper punching clear Essien's long-range effort.
However, a breakthrough finally came in the 65th minute when Menez sent Karnezis the wrong way from the spot after Domizzi had hauled Honda to the ground.
The referee showed his second red card in quick succession soon after, giving Essien his marching orders for a mere shoulder charge.
Any home nerves were quickly extinguished by the excellent Menez, though. The Frenchman cut in from the left wing with 15 minutes remaining and, having been afforded too much space by some woeful defending, smashed an unstoppable effort into the bottom-left corner.
Udinese almost pulled a goal back when Alexandre Geijo hit a powerful volley wide in an exciting finale that saw Milan spurn a couple of golden chances to add further gloss to the score.