Mr. Yushchenko defeated his rival Viktor Yanukovych in a repeat election held after Ukraine 's Supreme Court threw out the results of a previous vote because of widespread fraud .