Donald Trump did not claim credit for the victory of the Leave campaign. But he almost did.

Flying into Scotland – officially to check up on the progress being made at two golf resorts he owns – the presumptive Republican nominee claimed the EU vote meant the people of Britain had taken “back their country”.

“They’re angry over borders, they’re angry over people coming into the country and taking over, nobody even knows who they are,” said Mr Trump at the ceremony to mark the reopening of a golf resort he owns on Scotland’s west coast. “They’re angry about many, many things.”

Mr Trump said the result would not impact Britain's relationship with the US (Reuters)

Mr Trump said he was pleased by the result – an outcome that he had hoped for. Asked whether he felt his campaign in the US had influenced the outcome, he struck a coy pose.

“Good question,” he said, saying that he would not take credit. “I gave my opinion over the last few months but its not about me. It’s about them. I think they will be stronger for it.”

Yet it appeared that the 70-year-old New York tycoon was struggling to remain modest for too long. While he claimed that he had told people in the UK to vote as they wanted and should ignore his personal opinion, he said there were similarities to what had happened in the US, where he defeated 15 Republican rivals.

Which celebrities support Brexit and which support Remain? Show all 30 1 /30 Which celebrities support Brexit and which support Remain? Which celebrities support Brexit and which support Remain? David Beckham (REMAIN) The former captain for the England international football team announced on Instagram that he was “voting to Remain”. He said: “We live in a vibrant and connected world where together as a people we are strong. For our children and their children we should be facing the problems of the world together and not alone.” Getty Which celebrities support Brexit and which support Remain? Victoria Beckham (REMAIN) 'I believe in my country, I believe in a future for my children where we are stronger together and I support the remain campaign.' Getty Which celebrities support Brexit and which support Remain? Daniel Craig (REMAIN) Actor He was pictured wearing a white T-shirt with the slogan: 'No man is an island. No country by itself. Vote Remain on 23rd June.' Getty Images Which celebrities support Brexit and which support Remain? Bob Geldof (REMAIN) Irish singer expresses his support for the Remain vote as he waves from a boat carrying supporters for the 'Remain' campaign in London AFP/Getty Which celebrities support Brexit and which support Remain? John Cleese (LEAVE) The Monty Python star signalled he will vote to leave the EU when he tweeted: "If I thought there was any chance of major reform in the EU, I'd vote to stay in. But there isn't. Sad." Getty Which celebrities support Brexit and which support Remain? Daniel Portman (REMAIN) Game of Thrones actor supports Reamin vote Getty Images Which celebrities support Brexit and which support Remain? Elton John (REMAIN) The singer also announced his intention to vote Remain on Instagram, sharing an image which said “Build bridges not walls,” along with the caption “I'm voting to remain. #StrongerInEurope” Getty Which celebrities support Brexit and which support Remain? Roger Daltrey (LEAVE) Former frontman of iconic rock band The Who.” I am not anti European, but I an anti the present way we are being governed in Europe,” he wrote in The Mirror. “The whole system has been corrupted by political ego and massive government overreach. The Euro being a perfect example… I do not want to be dragged into the kind of Federal State that this present EU is pushing for - with the UK's voice getting smaller and smaller. AFP/Getty Images Which celebrities support Brexit and which support Remain? JK Rowling (REMAIN) The author of the Harry Potter books has expressed concern that "racists and bigots" are directing parts of the Leave campaign. She added: “How can a retreat into selfish and insecure individualism be the right response when Europe faces genuine threats, when the bonds that tie us are so powerful, when we have come so far together? How can we hope to conquer the enormous challenges of terrorism and climate change without cooperation and collaboration?” Getty Images Which celebrities support Brexit and which support Remain? Vivienne Westwood (REMAIN) British fashion designer expressed her support for Remain vote Getty Images Which celebrities support Brexit and which support Remain? Michael Caine (LEAVE) The actor has said he is a reluctant Leaver. He said: "I don't know what to vote for. Both are scary. To me, you've now got in Europe a sort of government-by-proxy of everybody, who has now got carried away. Unless there is some extremely significant changes, we should get out." Getty Images Which celebrities support Brexit and which support Remain? Benedict Cumberbatch (REMAIN) Benedict Cumberbatch and Sir Patrick Stewart led more than 280 figures from the arts world who backed a vote to stay. An open letter pledging support for Remain was also signed by music stars Hot Chip, alt-J and Paloma Faith, authors Dame Hilary Mantel and John le Carre, and fashion designer Dame Vivienne Westwood. Daniel Craig was pictured wearing a vote Remain t-shirt with the words "No man is an island. No country by itself" emblazoned across it in a picture tweeted on the Stronger IN account. Getty Images Which celebrities support Brexit and which support Remain? Patrick Stewart (REMAIN) Actor is a leading supporter of the Remain campaign Getty Images Which celebrities support Brexit and which support Remain? Elizabeth Hurley (LEAVE) The actress said “If it means we can go back to using decent lightbulbs and choose high-powered hairdryers and vacuum cleaners if we so wish, I'm joining Brexit for sure.” Getty Images Which celebrities support Brexit and which support Remain? Stephen Hawking (REMAIN) The physicist was in favour staying, and said "progress comes from co-operation". He said: "By working together in Europe we make our economy stronger and we give ourselves more influence in the world and we provide future opportunities for young people." Numerous scientists have also voiced their support for Remain, claiming an out vote would badly damage the field. Getty Images for Breakthrough Pr Which celebrities support Brexit and which support Remain? Sol Campbell (LEAVE) – The former England international football star said he is backing Brexit so that young British sporting talent would be nurtured and given greater opportunities at British clubs. He said: "I'm looking at the sporting side - how youngsters aren't getting the opportunities at some of the big clubs and some of the big clubs are bringing in youngsters from 14, 15, 16 and becoming homegrown, which is pushing some of our youngsters out." Getty Images Which celebrities support Brexit and which support Remain? Hilary Mantel (REMAIN) Author Hilary Mantel announced her support for Remain vote Getty Images Which celebrities support Brexit and which support Remain? Bear Grylls (REMAIN) The adventurer and TV presenter said he spoke "from the heart" in backing the EU. "At such a time for the UK to retreat, run and cut ourselves loose from Europe, when there are so many challenges on our doorstep, to me just doesn't feel either courageous or kind,” he said. “Europe has many flaws, but I also believe the way to help resolve many of those tough issues is from within... I have never been a good quitter and I am so proud of the UK and our values: tolerance, kindness, respect, courage and resilience. This is why I want us to stay together and Remain in Europe." Getty Images Which celebrities support Brexit and which support Remain? Billy Bragg (REMAIN) British singer decided to support Remain campaign AFP/Getty Images Which celebrities support Brexit and which support Remain? Ian Botham (LEAVE) The former England Test cricketer and Test team captain supports Brexit Getty/Laureus Which celebrities support Brexit and which support Remain? Simon Cowell (REMAIN) Music mogul Simon Cowell announced his support of staying in EU Getty Which celebrities support Brexit and which support Remain? David James (LEAVE) The former England goalkeeper supports Brexit Getty Images Which celebrities support Brexit and which support Remain? Idris Elba (REMAIN) The actor voiced his support for Remain vote Getty Images Which celebrities support Brexit and which support Remain? John Le Carre (REMAIN) British writer supports Remain campaign Getty Images Which celebrities support Brexit and which support Remain? Paloma Faith (REMAIN) English singer supports Remain campaign Getty Images Which celebrities support Brexit and which support Remain? Perry McCarthy (LEAVE) The racing driver supports Leave campaign Rex Features Which celebrities support Brexit and which support Remain? Keira Knightley (REMAIN) The actress intends to vote for Remain campaign Getty Images for Lincoln Center Which celebrities support Brexit and which support Remain? James Cracknell (LEAVE) British athlete and rowing champion decided to vote for Brexit Getty Images Which celebrities support Brexit and which support Remain? Florence Welch (REMAIN) British singer supports Remain campaign Getty Images for Gucci Which celebrities support Brexit and which support Remain? Helena Bonham-Carter (REMAIN) The actress expressed her support for Remain vote AFP/Getty Images

“It’s happening in many other places. They are taking their countries back. I thought it would happen,” he said. “You let in the people you want to, you don’t let in those you don’t want.”

He added: “So I think you’re going to have this happen more and more. I really believe that and I think that it’s happening in the United States. It’s happening by the fact that I’ve done so well in the polls.”

Earlier, Mr Trump’s campaign clearly linked the result to his own successes in the US. “Come November, the American people will have a chance to re-declare their independence,” his campaign said in a statement.

Mr Trump also claimed that Barack Obama’s intervention in the debate – the US President travelled to the UK where he said he felt Britain should remain in the EU – had a negative impact.

5 things we learned from a night that shook Europe

“I was so surprised that Obama would be so bold as to tell the people here what to do,” he said. “If he had not said it, the result might have been different.”