Answer
Sócrates' resignation was prompted by the rejection of a new austerity package by the Parliament. This package was intended to reduce the country's debt and deficit, and was necessary in order to receive financial assistance from the European Union and the International Monetary Fund. The rejection of the package by the Parliament led to a political crisis, and Sócrates eventually resigned as Prime Minister.