Who resigned as Prime Minister on January 30, 1855