Updated on Jan. 3, 2017 at 1:15 p.m. | After President-elect Donald Trump criticized House Republicans for their plans to gut the Office of Congressional Ethics, they called an emergency meeting to reverse the change.

Read the full story about the reversal here. The original story is below.

WASHINGTON — House Republicans on Monday voted to eviscerate the Office of Congressional Ethics, the independent body created in 2008 to investigate allegations of misconduct by lawmakers after several bribery and corruption scandals sent members to prison.

The ethics change, which prompted an outcry from Democrats and government watchdog groups, is part of a rules package that the full House will vote on Tuesday. The package also includes a means for Republican leaders to punish lawmakers if there is a repeat of the Democratic sit-in last summer over gun control.

Under the ethics change pushed by Rep. Bob Goodlatte, R-Va., the non-partisan Office of Congressional Ethics would fall under the control of the House Ethics Committee, which is run by lawmakers. It would be known as the Office of Congressional Complaint Review, and the rule change would require that “any matter that may involve a violation of criminal law must be referred to the Committee on Ethics for potential referral to law enforcement agencies after an affirmative vote by the members,” according to Goodlatte’s office.

Lawmakers would have the final say under the change. House Republicans voted 119-74 for the Goodlatte measure.

“The amendment builds upon and strengthens the existing Office of Congressional Ethics by maintaining its primary area of focus of accepting and reviewing complaints from the public and referring them, if appropriate, to the Committee on Ethics,” the congressman said in a statement.

Democrats, led by Minority Leader Nancy Pelosi, reacted angrily.

“Republicans claim they want to ‘drain the swamp,’ but the night before the new Congress gets sworn in, the House GOP has eliminated the only independent ethics oversight of their actions,” the California lawmaker said in a statement. “Evidently, ethics are the first casualty of the new Republican Congress.”

Chris Carson, president of the League of Women Voters, said Speaker Paul Ryan, R-Wis., should be ashamed of himself and his leadership team.

“We all know the so-called House Ethics Committee is worthless for anything other than a whitewash — sweeping corruption under the rug. That’s why the independent Office of Congressional Ethics has been so important. The OCE works to stop corruption and that’s why Speaker Ryan is cutting its authority. Speaker Ryan is giving a green light to congressional corruption.”

The OCE was created in March 2008 after the cases of former Rep. Randy “Duke” Cunningham, R-Calif., who served more than seven years in prison on bribery and other charges; as well as cases of former Rep. Bob Ney, R-Ohio, who was charged in the Jack Abramoff lobbying scandal and pleaded guilty to corruption charges and former Rep. William Jefferson, D-La., convicted on corruption in a separate case.