After Hamadi Jebali asked him to be part of his government, he quit his professional career to contribute to the country's transition into democracy after the crackdown of Zine El Abidine Ben Ali government in the 2011 uprising. He did not belong to any political party; he was an Independent. On 13 March 2013, he became Minister of Industry in a coalition government led by Ennahda after Ali Laarayedh appealed him to be part of his government. After the assassination of Mohamed Brahmi in July, there had been a political deadlock. To ease the situation, parties entered a national dialogue which was held for weeks; on 14 December 2013, both ruling and opposition parties agreed to choose Jomaa as the interim Prime Minister until the next election. His government was technocratic. The leftist Popular Front coalition doubted whether he could handle the present situation. His caretaker government carried out the process for new elections and attempted to deal with the economic issues.