TORONTO -- With less than a week until election day, former U.S. president Barack Obama has waded into the fray to bolster the campaign of Liberal Leader Justin Trudeau, who he describes as his "friend."

On Thursday afternoon, the popular former politician shared a tweet in which he appeared to reveal who he thinks should be Canada鈥檚 next prime minister.

鈥淲ishing my friend @JustinTrudeau the best in Canada鈥檚 upcoming election. Justin has been an effective leader and strong voice for democratic values, and I鈥檓 proud of the work we did together,鈥 .

Obama was referring to the period when he and Trudeau led their respective countries at the same time, from November 2015 to January 2017.

The two politicians鈥 close working relationship was well-documented during this period, with some in the media dubbing it a 鈥渂romance.鈥

Even after Obama left office, the pair have maintained friendly relations, with the former president visiting Trudeau at an Ottawa brewery for a pint in June 2019.

Later that year, Obama tweeted his support for Trudeau during that federal election, describing him as 鈥渁 hard-working, effective leader.鈥 

On Friday, former U.S. secretary of state and presidential candidate Hillary Clinton echoed Obama鈥檚 words in support of Trudeau.

鈥淚 have seen my friend @JustinTrudeau show leadership in the fight for accessible child care, protected reproductive rights, and ambitious climate action. I鈥檓 wishing him and our progressive Canadian neighbors the best in Monday's election,鈥 she wrote.

In August, Trudeau said he had spoken with Clinton about their concern for Afghan women and girls following the Taliban鈥檚 takeover.

鈥淸Clinton] shares our concern for Afghan women and girls. She welcomed our efforts and urged Canada to continue our work. Governments, international organizations and civil society must continue to work together to support women and girls in Afghanistan,鈥 he said at the time.

Hours later, NDP Leader Jagmeet Singh received his own endorsement from south of the border, via Sen. Bernie Sanders.

"There's one party that stood up for working people in the pandemic. One leader who has the courage to make the wealthy pay their fair share so everyone gets the medication they need," the Independent senator for Vermont, who twice sought the Democratic Party nomination for U.S. president, .

Trudeau鈥檚 main rival in the current election, Conservative Leader Erin O鈥橳oole, recently received an endorsement of his own -- from a former Canadian leader instead of a former American one.

On Wednesday, former prime minister Brian Mulroney joined O鈥橳oole at a campaign stop in Orford, Que. where he described the Conservative candidate as 鈥渟teady, strong, and visionary.鈥

Mulroney, who was prime minister between 1984 and 1993, added that he wasn鈥檛 there to attack anyone and that he only wanted to 鈥渉elp elect Erin O'Toole as the next prime minister of Canada.鈥

According to the latest polling data from Nanos Research, the Liberals and Conservatives are neck-and-neck in the campaign with no clear frontrunner in the final days leading up to the election.