(The Center Square) – Former President Barack Obama warned Americans Tuesday that they may not know who won the election for days.

Obama posted on X, formerly known as Twitter, late Tuesday afternoon as millions of Americans cast their ballots around the country.

Obama told Americans to "let the process run its course," saying "it takes time to count every ballot."

"It took several days to count every ballot in 2020, and it’s very likely we won’t know the outcome tonight either," Obama said.

Obama also urged Americans to respect election workers.

"Thousands of election workers around the country are working hard today. Respect them. Thank them. Don’t share things before checking your sources."

Both Vice President Kamala Harris and former President Donald Trump issued messages to their supporters Tuesday, urging them to remain in line despite reports of long lines in some areas.

"If you are in line before the polls close, stay in line," Harris wrote on X. "It is your right to make your voice heard."

Trump urged his supporters to do the same.

"I need you to deliver your vote no matter how long it takes. STAY IN LINE!" Trump said in a statement. "The Radical Communist Democrats want you to pack up and go home."