Donald Trump and Emmanuel Macron put what looked like an unexpected bromance on display as the US president visited Paris for the Bastille Day military parade and celebration.

Mr Trump spent a large portion of his day and a half in the French capital in the embrace of the French president, who went to extraordinary lengths to impress him.

He turned a day of national pride into a celebration of American patriotism and friendship between the two countries. This year’s Bastille Day event coincided with the 100th anniversary of the US entry into the First World War.

Mr Macron, in closing the parade, publicly thanked the US for coming to France’s aid during the war, saying “nothing will ever separate us”.

“The presence at my side of the president of the United States, Mr Donald Trump, and of his wife, is the sign of a friendship across the ages,” he said.

At one point, Mr Trump declined an invitation to repeat his past criticism of Paris. He said the city’s future is bright because France has a “great” and “tough” leader.

Mr Trump and Mr Macron exchanged many handshakes during the course of his first visit to France as president, perhaps none more telling than after the parade.

 Emmanuel Macron talks with Donald Trump There were many handshakes (Michel Euler/AP)

As the US president prepared to head home, the leaders clasped hands and held on to each other as they walked.

Mr Trump at one point pulled the smaller Mr Macron off balance and held fast as they approached their wives. Even then, Mr Trump held on to Mr Macron as he shook hands with his wife, Brigitte.

They appeared to have moved beyond a tense introduction in May, when a white-knuckle handshake that Mr Macron later said was meant to show he is no pushover was widely interpreted as a sign of fraught relations to come.

Mr Trump’s brand of America First politics had unsettled some European allies. But the body language in Paris this week suggested their relationship has moved to a new level.

Emmanuel Macron and Donald Trump at the Bastille Day military ParadeEmmanuel Macron and Donald Trump watch the military parade (Michel Euler/AP)

Both seemed to minimise differences in order to focus on areas where they can work together, such as the crisis in Syria and Middle East security.

Mr Trump returned the kindness of Mr Macron in a statement released as Air Force One flew back to the US. “America and France will never be defeated or divided,” he said.

He added that it was his “high honour” to commemorate, on French soil, France’s most historic day and the 100th anniversary of the entry of the United States into the First World War.

The presidents and their wives sit for dinner in the Eiffel TowerThe presidents and their wives went for a meal (Carolyn Kaster/AP)

Despite major differences between the two leaders on such issues as climate change and trade, Mr Macron nonetheless carved out time to lead Mr Trump on a tour of the Les Invalides monument.

Mr Trump gave Mr Macron a lift to the French presidential palace in his armoured Cadillac limousine known as The Beast for their talks and a joint news conference.

They capped Thursday with a double dinner date with their wives at the famed Jules Verne restaurant in the Eiffel Tower.