The Welsh Open in 2002–03 and the British Open in 2003–04 came Hendry's way, with his victory in the 2005 Malta Cup being his most recent ranking success. Hendry reached another World Championship semi-final but was thrashed 4–17 by O’Sullivan with a session to spare, which was the heaviest defeat in a world semi-final. However, following O'Sullivan's decision to not enter the 2006 Malta Cup, Hendry was able to regain the world no. 1 position in 2005–06 due to consistency in reaching the latter stages of tournaments without, by his own admission, reproducing his form of old. He reached the final of the 2006 UK Championship in a tournament memorable for his quarter-final against Ronnie O'Sullivan, in which O'Sullivan unexpectedly forfeited the match at 4–1 down following a strong start by Hendry. The Scot then came back from 5–7 behind in his semi-final to defeat then-World Champion Graeme Dott 9–7, but lost in the final, 6–10, to Peter Ebdon. Following a disappointing season in 2007–08, Hendry unexpectedly reached his 12th semi-final at the World Championships, a new record surpassing Steve Davis' tally of 11. In doing so aged 39 Hendry became the oldest player to reach the semi-finals of the tournament since Terry Griffiths in 1992; however, he again lost heavily against an in-form O’Sullivan 6–17 with a session to spare. Hendry was whitewashed 0–8 in the second session of their match, the first time he had failed to win a frame in a full session at The Crucible.