Lars Løkke Rasmussen tweeted a photo of himself leaving office after being defeated in the Danish general election last year.
The former prime minister of Denmark has come up with some advice on how to leave office with "honour" for Donald Trump, who is on edge to lose his presidency.
"This is the right way to leave office with honor once you have lost election," tweeted Lars Løkke Rasmussen.
Thanks for honest conversation over the last 4 years. Let's keep in touch, he continued.
There is no indication that Trump - who has been making unsubstantiated claims of election fraud - will concede to Joe Biden, who is ahead in several of the few states still counting votes.
Lars Løkke Rasmussen tweeted a photo of himself leaving office after being defeated in the Danish general election last year, reports BBC.
Rasmussen's advice comes as Frank Bainimarama, Prime Minister of Fiji, congratulated Biden on his election success - even though ballots are still being tallied.
Slovenia's PM Janez Jansa took to Twitter on Wednesday to congratulate Trump for winning the election. Twitter put a warning on Jansa's tweet, saying: "Official sources may not have called the race when this was Tweeted."