Tour match, Sydney, day three of three: New South Wales 355-9 dec & 194-6 v England 349
Kevin Pietersen's century and three wickets for James Anderson were the highlights for England as they drew a three-day game with New South Wales.
Pietersen's form is a boost ahead of the first Ashes Test in Brisbane
Pietersen moved from 80 to 122 as the tourists made 349, to trail by six.
The game was drifting when Simon Katich and Michael Clarke then put on 114 for the third wicket before Anderson's burst, which saw him finish with 3-40.
England now have another three-day game against South Australia before the first Ashes Test on 23 November.
After the embarrassing 166-run defeat by a Prime Minister's XI on Friday, the tourists will move on to Adelaide with confidence after several encouraging performances at the SCG.
I am pleasantly surprised to be in with a chance of playing in the Ashes
Skipper Andrew Flintoff added 14 to his overnight 48, including a six over long-on off spinner Nathan Hauritz, to become the fourth England batsman to make a half century in this game.
He put on 116 with Pietersen before playing on to Stuart Clark and that was the prelude to a disappointing effort from the lower order, the main downside of an otherwise good workout.
Paul Collingwood was snapped up at silly mid-off by Jaques off Hauritz for just five, while wicket-keeper Geraint Jones and Ashley Giles mustered only 22 runs between them.
Glenn McGrath bowled Jones with a delivery which nipped back in and kept low, Lee uprooted Giles' middle-stump and Nathan Bracken cleaned up Steve Harmison.
Anderson was on a hat-trick at one stage of his fine performance
Before that, Pietersen became England's first centurion on tour and lifted the cloud which had hung over him after some struggles recently, particularly against short-pitched bowling.
He overcame some nervy moments on 99 before picking up a flurry of boundaries - including three off one over from McGrath - until he mis-timed a drive off Bracken to Lee at mid-on.
When the hosts batted again, Phil Jaques failed to build on his two centuries in three days against the touring overs when Sajid Mahmood ran him out for four as he attempted a risky single.
The other negative for England was several fielding errors, the first of which saw Katich (55) dropped by Anderson at square-leg from the first ball after lunch.
Left-arm spinner Monty Panesar then missed out on two wickets, Jones squandering a stumping chance when Clarke (68) was on 47 and Andrew Strauss fumbling a chance at slip before Aaron O'Brien had scored.
But Anderson finished positively and was on a hat-trick when Strauss held on to remove O'Brien and Daniel Smith was bowled first ball.
The seamer also trapped Moises Henriques lbw to finish with five wickets in the game and justify coach Duncan Fletcher's positive words about him on Sunday.