His San Luis result earned him direct entry to the World Chess Championship 2007. In that tournament he scored 6 out of 14, placing sixth out of eight players. He was the only player who managed to defeat the reigning world champion Vladimir Kramnik (which was also Kramnik's only defeat in 2007).