 On 1 April 2017, the Supreme Tribunal reversed its decision, thereby reinstating the powers of the National Assembly.Maduro called for a rewrite of the constitution, and the Constituent Assembly of Venezuela was elected in 2017, under what many—including Venezuela's chief prosecutor Luisa Ortega and Smartmatic, the company that ran the voting machines—considered irregular voting conditions; the majority of its members were pro-Maduro.On 20 May 2018, presidential elections were called prematurely; opposition leaders had been jailed, exiled or forbidden to run, there was no international observation, and tactics to suggest voters could lose their jobs or social welfare if they did not vote for Maduro were used.