This strong performance by the opposition led to the reduction of the legislative powers due to the judiciary's increased scope and politicization. The Supreme Tribunal of Justice (TSJ), controlled by the PSUV, invalidated three deputies' elections from the opposition; when this ruling was not accepted by the Assembly, its powers were stripped. By 2017, the old legislative body was dismissed and transformed into the New Constituent National Assembly. This was similar to the Constituent Assembly in 1999, having power to change the constitution and dismantle pre-existing officials and/or the bodies themselves. The members of the Constituent Assembly were chosen in July 2017, during elections that were largely boycotted by the opposition, which accusations of illegitimacy.