Three days after Election Day, President Barack Obama used his last Veterans Day speech to urge Americans to learn from the example of veterans as a divided nation seeks to "forge unity" after the bitter 2016 campaign.

Obama, in remarks at Arlington National Cemetery, noted that Veterans Day often comes on the heels of hard-fought campaigns that "lay bare disagreements across our nation."

"But the American instinct has never been to find isolation in opposite corners," Obama said. "It is to find strength in our common creed, to forge unity from our great diversity, to maintain that strength and unity even when it is hard."

He added that now that the election is over, "as we search for ways to come together, to reconnect with one another and with the principles that are more enduring than transitory politics, some of our best examples are the men and women we salute on Veterans Day."

Tuesday's election of Republican Donald Trump led to protests across the country.

Obama noted that the U.S. military is the country's most diverse institution, comprised of immigrants and native-born service members representing all religions and no religion. He says they are all "forged into common service."

Obama, with just two months left in his term, also took note of how he's aged in office over the past eight years.

He read excerpts from an essay by a middle-schooler who wrote that veterans are special because they will defend people regardless of their race, gender, hair color or other differences.

"After eight years in office, I particularly appreciate that he included hair color," Obama quipped.

Before speaking, Obama paid tribute to veterans by laying a wreath at the Tomb of the Unknowns. He bowed his head in silent tribute before a bugler played taps.

Obama also held a breakfast reception at the White House with veterans and their families on his final Veterans Day as commander in chief.