As he has many times before, President Obama appeared before reporters in the Rose Garden on Wednesday, this time to offer his first public comments on Republican Donald Trump's upset victory in the presidential election. But this was no ordinary briefing.

Before Obama showed up with Vice President Biden, scores of White House staffers, perhaps 200 in all, streamed into the Rose Garden, filling in the lawn behind a bank of television cameras. They came from the West Wing and from the Eisenhower Executive Office Building across the street. Rarely had reporters seen so many staffers at a Rose Garden event, and none of the reporters could recall seeing so many with such grim and somber expressions.

Along the White House colonnade, the president's senior advisers also crowded together to watch.

Obama, who campaigned intensively against Trump, attempted to remain positive and upbeat, talking about the importance of a peaceful and orderly transfer of power that is required by the American democratic system. He pledged that his administration would work with Trump's transition team to ensure it.

Some staffers appeared to be crying and others patted each other on the backs. Obama said he told his team “to keep their heads up” and cited their unheralded work to make the government more efficient and customer friendly.

Obama noted that he had previously lost an election — an unsuccessful bid for a congressional seat from Chicago — but then joked that Biden, a seven-term member of the Senate before winning two White House campaigns with Obama, had never lost. Biden, a practicing Catholic, smiled and made the sign of the cross over his heart.

But Biden actually had run twice before for the presidency, and he was perhaps quietly ruing his decision not to run against Democratic nominee Hillary Clinton in the primary this year. He, too, appeared to be reckoning with what a Trump presidency will mean to the Obama legacy.

After the president concluded his remarks, he and Biden turned and left, Obama draping his arm around Biden's back. In the Rose Garden, the staff members gave them extended applause that lasted more than a minute and continued well after they had disappeared into the Oval Office. Then they quietly left the Rose Garden and went back to work.

As a candidate, Donald Trump vowed to dismantle some of President Obama's key achievements.