Democrats in the House — and on the 2020 campaign trail — are divided about whether to start impeachment proceedings against President Trump, following a report from special counsel Robert S. Mueller III that detailed Trump’s efforts to hinder Mueller’s investigation.

The most compelling practical argument against such an effort is that it is unlikely to succeed. That’s because the decision on whether to remove him from office would be made by the Senate, which is controlled by Trump’s GOP.

If Democrats choose to pursue impeachment, they will be using an unwieldy measure built into the Constitution as an emergency tool. Only two U.S. presidents have ever been impeached. Here are five things to know about how the impeachment process works.

1. What sorts of offenses trigger impeachment proceedings?

There is no hard-and-fast list. The House decides. The Constitution says that presidents, vice presidents and other federal officials can be impeached for “Treason, Bribery, or other high Crimes and Misdemeanors.”

But what are “high Crime and Misdemeanors?” The document doesn’t say. In the past, the House — where impeachment proceedings must begin — has defined those terms to mean something broader than just “federal crimes.”

The House has also impeached presidents for behavior that undermines the constitutional system or that brings shame to the office of president, regardless of whether that behavior was criminal.

For instance: President Andrew Johnson, who was the first president to be impeached, was charged with firing one of his Cabinet members — in defiance of a law that said he needed the Senate’s permission. He was also charged with, in essence, insulting Congress. One article of impeachment accused Johnson of “scandalous harangues” about legislators, made “with a loud voice.”

2. How does impeachment work?

The House would vote on articles of impeachment, which are individual statements of offense. All it takes is a simple majority. If any of them pass, the president has been “impeached” — something like being indicted in a legal procedure.

Next, the president’s case would move to the Senate, which acts as a 100-member jury. The House appoints “managers,” who act like prosecutors, laying out the case for the president’s removal. The chief justice of the United States presides over the proceedings if the president is on trial.

Convicting the president requires two-thirds of all senators to agree. If that happens, the president is automatically removed from office.

3. Has that ever happened?

Not to a president. Johnson, who was the first president to be impeached, escaped conviction by one vote in 1868. Bill Clinton was the second: The House brought impeachment proceedings against him in 1998, alleging perjury and obstruction of an investigation. The Senate acquitted him by a wider margin.

President Richard M. Nixon resigned in 1974 before the full House could vote on impeachment charges against him.

Beyond the cases that involve presidents, impeachment has been a tool rarely used in U.S. history. Since 1789, only eight federal officials have been convicted by the Senate and removed from office. All eight were federal judges.

That list includes one current member of Congress: Rep. Alcee L. Hastings (D-Fla.), a former federal judge who was convicted by the Senate of extorting a bribe in a case before him. Four years after Hastings was removed from office as a judge, he was elected to Congress.

4. How long does impeachment take?

In Nixon’s case, nine months elapsed between the start of the House Judiciary Committee’s impeachment investigation in October 1973 and the committee’s approval of its first impeachment resolution. Nixon resigned in early August 1974.

In Clinton’s case, the House moved much faster. In September 1998, the House received a report from independent counsel Kenneth W. Starr that recommended impeachment against Clinton. The House voted to impeach Clinton in December 1998, and the Senate acquitted him in February 1999.

5. What lessons could Democrats draw from the impeachment investigations of Nixon and Clinton?

The Nixon investigation seems to bolster an argument made by Sen. Elizabeth Warren (D-Mass.) that if Democrats think Trump deserves to be impeached, they ought to try.

Public support for Nixon’s removal was low at the start of the investigation but rose steadily as the probe uncovered new evidence of his abuses of power. His resignation brought a wave of public revulsion with Washington corruption — and a huge political boost to Democrats. The 1974 elections swept in a wave of “Watergate Baby” legislators who gave Democrats huge advantages in the House and Senate.

Clinton’s impeachment, however, did not turn out as well for the opposition party.

In the election held in the middle of their impeachment investigation, Republicans were accused of overreach and lost seats in the House. Speaker Newt Gingrich (R-Ga.), who had led the charge, resigned after unrest in his caucus.

Neither of these cases, however, is a very useful case study for today’s Democrats — since Clinton and Nixon were both in their second terms.

Trump is in his first. That has led some Democrats to conclude that they should focus more on defeating Trump in 2020 than impeaching him before then.