With just 0.2 per cent of votes yet to be counted , Viktor Yanukovych , a Kremlin-friendly former convict , had beaten Mrs Tymoshenko , the heroine of Ukraine 's 2004 Orange Revolution , into second place .