He made eight with the bat and again opened the bowling in the second innings, taking 1/53 from 18 overs.
He took three wickets in the match and made 42 with the bat, despite coming in at number 11.
He also made his highest score with the bat: 38 against Somerset.
Martin made only small contributions with the bat, however, and was dropped from the team after his second game.
In a man of the match winning effort he made 57 with the bat and took 3/37 with the ball.
On 22 May in what proved to be his final test, he made 67 and 27 with the bat.
Pietersen had a quiet first two Test matches, making little impression with the bat.
He often made small contributions with the bat, and only made ducks three times.
He made 19 with the bat and took 2/25 with the ball.
He made two runs with the bat before being run out as Australia ended on 448.