Answer
On March 28, 2009, Ferenc Gyurcsány resigned as party chairman following the defeat of the Hungarian Socialist Party (MSZP) in the 2009 European parliamentary elections. This marked the end of his four-year tenure as party leader and seven years as Prime Minister of Hungary. Gyurcsány's resignation came amid growing discontent within the MSZP over his leadership and the party's declining political fortunes.