JERUSALEM (AP) 鈥 Prime Minister Benjamin Netanyahu鈥檚 government on Tuesday for the first time advanced a plan to overhaul the country鈥檚 legal system, defying a mass uproar among Israelis and calls for restraint from the United States.

The vote marked only preliminary approval for the plan. But it raised the stakes in a political battle that drew tens of thousands of protesters into the streets, sparked criticism from influential sectors of society and widened the rifts in an already polarized country.

The 63-47 vote after midnight gave initial approval to a plan that would give Netanyahu鈥檚 coalition more power over who becomes a judge. It is part of a broader package of changes that seeks to weaken the country鈥檚 Supreme Court and transfer more power to the ruling coalition.

Netanyahu鈥檚 ultrareligious and ultranationalist allies say these changes are needed to rein in the powers of an unelected judiciary. Critics fear that judges will be appointed based on their loyalty to the government or prime minister 鈥 and say that Netanyahu, who faces trial on corruption charges, has a conflict of interest in the legislation.

The showdown has plunged Israel into one of its most bitter domestic crises, with both sides insisting that the future of democracy is at stake in their Middle Eastern country. Israeli Palestinians, a minority that may have the most to lose by the overhaul, have mostly stayed on the sidelines, due to discrimination they face at home and Israel鈥檚 ongoing 55-year occupation of their Palestinian brethren in the West Bank.

The legislators cast their votes after a vitrolic debate that dragged on past midnight. During the session, opposition lawmakers chanted, 鈥渟hame,鈥 and wrapped themselves in the Israeli flag 鈥 and some were ejected from the hall.

Thousands were rallying outside the Knesset, waving Israeli flags and holding signs reading 鈥渟aving democracy!鈥 Earlier in the day, protesters launched a sit-down demonstration at the entrance of the homes of some coalition lawmakers and briefly halted traffic on Tel Aviv鈥檚 main highway.

Netanyahu accused the demonstrators of violence and said they were ignoring the will of the people who voted his coalition into power last November.

鈥淭he people exercised their right to vote in the elections and the people鈥檚 representatives will exercise their right to vote here in Israel鈥檚 Knesset. It鈥檚 called democracy,鈥 Netanyahu said, though he left the door open for dialogue on the planned changes.

The vote on part of the legislation is just the first of three readings required for parliamentary approval, a process that is expected to take months.

Nonetheless, the opposition, including tens of thousands of protesters in front of the Knesset in Jerusalem and in Tel Aviv, saw Monday鈥檚 vote as the coalition鈥檚 determination to barrel ahead.

鈥淲e are fighting for our children鈥檚 future, for our country鈥檚 future. We don鈥檛 intend to give up,鈥 said opposition leader Yair Lapid.

Israel鈥檚 figurehead president has urged the government to freeze the legislation and seek a compromise with the opposition, a position supported by most polls.

Leaders in the booming tech sector have warned that weakening the judiciary could drive away investors.

The overhaul has prompted otherwise stoic former security chiefs to speak out, and even warn of civil war. The plan has even sparked rare warnings from the U.S., Israel鈥檚 chief international ally.

U.S. Ambassador Tom Nides told a podcast over the weekend that Israel should 鈥減ump the brakes鈥 on the legislation and seek a consensus on reform that would protect Israel鈥檚 democratic institutions.

His comments drew angry responses from Netanyahu allies, telling Nides to stay out of Israel鈥檚 internal affairs.

The debate raged Monday from the floor of the Knesset to flag-waving demonstrations in Jerusalem and Tel Aviv.

Simcha Rothman, a far-right lawmaker leading the legislative initiative, presented the proposal to the parliament. Overhead in the viewing gallery, a spectator banged on the protective glass and was carried away by guards.

A fellow Religious Zionism party politician posted a photo on Twitter with Rothman ahead of the vote, celebrating with whisky and sushi.

Last week, some 100,000 people demonstrated outside the Knesset as a committee granted initial approval to the plan. On Monday, the crowds returned, waved Israeli flags, blew horns, and held signs reading 鈥渟aving democracy.鈥

鈥淎ll the steps that are going to take place now in the Knesset will change us to a pure dictatorship,鈥 said Itan Gur Aryeh, a 74-year-old retiree. 鈥淎ll the power will be with the government, with the head of the government and we鈥檒l all be without rights.鈥

Earlier in the day, protesters launched a sit-down demonstration at the entrance of the homes of some coalition lawmakers and briefly halted traffic on Tel Aviv鈥檚 main highway. Hundreds waved Israeli flags in the seaside city and further up the coast in Haifa, holding signs reading 鈥渞esistance is mandatory.鈥

While Israel has long boasted of its democratic credentials, critics say that claim is tainted by the country鈥檚 West Bank occupation and the treatment of its own Palestinian minority.

Israel鈥檚 Palestinian citizens, who make up about 20% of the population, have the right to vote but continue to suffer discrimination in areas like the job and housing markets. In the West Bank, Jewish settlers can vote in Israeli elections and are generally protected by Israeli laws, while Palestinians in the same territory are subject to military rule and cannot vote.

The parliamentary votes seek to grant the ruling coalition more power over who becomes a judge. Today, a selection committee is made up of politicians, judges and lawyers 鈥 a system that proponents say promotes consensus.

The new system would give coalition lawmakers control over the appointments. Critics fear that judges will be appointed based on their loyalty to the government or prime minister.

A second change approved Monday would bar the Supreme Court from overturning what are known as 鈥淏asic Laws,鈥 pieces of legislation that stand in for a constitution, which Israel does not have. Critics say that legislators will be able to dub any law a Basic Law, removing judicial oversight over controversial legislation.

Also planned are proposals that would give parliament the power to overturn Supreme Court rulings and control the appointment of government legal advisers. The advisers currently are professional civil servants, and critics say the new system would politicize government ministries.

Critics also fear the overhaul will grant Netanyahu an escape route from his legal woes. Netanyahu has been on trial for nearly three years for charges of accepting bribes, fraud and breach of trust. He denies wrongdoing and says he is the victim of a biased judicial system on a witch hunt against him.

Israel鈥檚 attorney general has barred Netanyahu from any involvement in the overhaul, saying his legal troubles create a conflict of interest. Instead, his justice minister, a close confidant, is leading the charge.

On Sunday, Netanyahu called the restrictions on him 鈥減atently ridiculous.鈥

___

Kellman reported from Tel Aviv, Israel.

The 春色直播 Press. All rights reserved.