The storming of the US Capitol by supporters of President Donald Trump on Wednesday has prompted calls by some lawmakers to remove him from office before President-elect Joe Biden is sworn in on Jan. 20. The chaotic scenes unfolded after Republican Trump, who has refused to commit to a peaceful transfer of power, addressed thousands of protesters and repeated unfounded claims that the election was stolen from him. There are two ways to remove a president from office: the 25th Amendment of the US Constitution and impeachment followed by a Senate conviction. In either scenario, Vice President Mike Pence would take over until Biden’s inauguration. A source familiar with the effort said here have been some preliminary discussions among some Cabinet members and Trump allies about invoking the 25th Amendment. What’s the purpose of the 25th Amendment? The 25th Amendment, ratified in 1967 and adopted in the wake of President John F. Kennedy’s assassination in 1963, deals with presidential succession and disability. Section 4 addresses situations where a president is unable to do the job but does not step down voluntarily. The drafters of the 25th Amendment clearly intended for it to apply when a president is incapacitated by a physical or mental illness, experts say. Some scholars have also argued that it could also apply more broadly to a president who is dangerously unfit for office. For the 25th Amendment to be invoked, Pence and the majority of Trump’s Cabinet would need to declare that Trump is unable to perform the duties of the presidency and remove him. Pence would take over, in that scenario. Trump could subsequently declare that he is capable of resuming the job. If Pence and the majority of the Cabinet do not contest Trump’s determination, Trump regains power. If they dispute Trump’s declaration, the issue would then be decided by Congress, but Pence would continue to act as president until then. A two-thirds majority of both Chambers would be needed to keep Trump sidelined. But the Democratic-controlled House could simply delay voting on the substantive dispute until Trump’s term ends, said Paul Campos, a professor of constitutional law at the University of Colorado. Campos said the 25th Amendment would be an appropriate way to remove Trump from office and has the benefit of being quicker than impeachment.