The prime minister 's resignation in June 2010 ushered in seven months of political gridlock until Jhala Nath KHANAL was elected as replacement in February 2011 .