WASHINGTON — The president and his chief of workers couldn’t maintain again their tears.

In a ceremony that was by turns sentimental and surreal, the White Home on Wednesday formally stated farewell to President Biden’s chief of workers, Ron Klain, who has been by Mr. Biden’s aspect for more than three decades.

His voice breaking with emotion, Mr. Klain confirmed off his “favourite memento” from the job.

“This plain and easy rock,” he stated, holding up a white stone in entrance of dozens of White Home staffers, pausing to drag himself collectively because the president and the incoming chief of staff, Jeffrey D. Zients, regarded on. “It’s all the time symbolized to me the truth that this workforce has been rock strong of their help of our agenda and the president.”

Mr. Klain broke some information on his means out: He pledged to be there once more for a re-election marketing campaign that Mr. Biden has not but formally introduced (however which the president has stated he intends to do very quickly).

However principally, Mr. Klain provided a small glimpse into the human aspect of the White Home, and of jobs that always pressure folks to parrot ready responses and coverage memos as an alternative of giving bear hugs and telling dad jokes.

Mr. Klain — and the president, for that matter — had feelings to spare on Wednesday.

“That is one of the best job I’ve ever had,” Mr. Klain stated, bursting into tears.

Mr. Biden wiped tears from his personal eyes after Mr. Klain, his rock of greater than three many years, stated he had discovered “about being a great father from Joe Biden.”

White Home aides behind the East Room raised their telephones to seize the passing of the torch. A minimum of one staffer — too quick to see over her colleagues’ heads — watched a livestream of the occasion on her telephone.

Mr. Klain spoke of his 8:20 a.m. video calls with senior officers within the White Home. He ready the work pressure for Mr. Zients by saying he would come outfitted with free bagels. (Mr. Zients was an unique investor in Name Your Mom, a bagel store in Washington.)

However a lot of the occasion was devoted to tracing Mr. Klain’s time with Mr. Biden.

Mr. Klain had extra entry and perception into the president than practically anybody within the White Home. He ticked via the president’s legislative successes and lots of judicial appointments. However Mr. Klain has been there via darkish intervals as effectively, such because the violent withdrawal from Afghanistan.

And he spoke simply hours after the White Home confronted uncomfortable questions concerning the particular counsel investigation into the president’s dealing with of categorized paperwork as the F.B.I. searched Mr. Biden’s vacation home in Rehoboth Beach, Del. (No categorized paperwork have been discovered.)

Ultimately, Mr. Klain turned away from the president and towards his household.

“For the following two years,” he stated, “on daily basis it’s my flip to stroll the canine.”