After many buffetings and, finally, after the catastrophic results of the June European Parliament election, 2004 Špidla resigned after a revolt in his own party and the government was reshuffled on the same basis.