He took 65 wickets at 20.16 in a record-breaking Pura Cup campaign, which led to his Test debut on the 2005 Ashes tour. There he was preferred to Jason Gillespie for two Tests. His pursuit of extreme pace and his unorthodox action took a physical toll, and he needed shoulder surgery. After recovering, he played a major part in Australia's winning 2007 World Cup campaign, finishing second among wicket-takers with 23 at 20.30. Ponting gave him licence to attack batsmen even if it cost runs, and he worked alongside the economical McGrath.
Injuries soon returned. Elbow surgery ruled him out of a tour to India, though he came back for the home Tests against India, a series Australia won 2-1. He then stepped away from cricket, citing physical and emotional exhaustion. He returned at the start of the 08-09 season and played domestic T20 cricket in England. He was signed by the Rajasthan Royals for the second IPL but withdrew through injury.
In 2009 he gave up Test cricket. He was a key member of Australia's side at the 2011 World Cup, and after the team's early exit he retired from ODIs to concentrate on T20 cricket. He played for the Rajasthan Royals in the third and fourth IPL seasons with uneven results. In some games he sent down wides and full tosses, and in others he produced reverse-swinging yorkers. After the Royals put him into the auction for the seventh edition, he went unsold. He has also played T20 cricket for the South Australian Redbacks and in events such as the Bangladesh Premier League and the Big Bash League, with sides including Chittagong Kings, Melbourne Renegades, Adelaide Strikers and Wellington Firebirds.