Vice President Mike Pence will attend the inauguration of President-elect Joseph R. Biden Jr. on Jan. 20, an adviser to the Vice President said on Saturday, a split over President Trump’s decision not to go.

The adviser revealed the decision four days after Mr Pence crouched for cover in the Capitol complex when a crowd of Trump supporters who attended a rally with the president passed the building during certification of the electoral college’s votes.

Mr Trump confirmed on Friday that he would not attend the inauguration.

Mr. Pence was always more likely to attend the inauguration than Mr. Trump, who would almost certainly skip the ceremony. But after the events at the Capitol on Wednesday in which five people died, the decision was awaited by Mr Pence.

Mr Biden said this week that he was glad not to have Mr Trump there, but that Mr Pence was “welcome” and that it would help with the transition. Mr Trump had publicly and privately pressured Mr Pence to revoke the certifications and toss them back to the states so that Mr Trump could try to reverse the results in states that Mr Biden had won.