Donald Trump left it until the last moment to resign from his UK businesses, official documents show.

The President stood down just hours before his inauguration, according to documents filed at Companies House.

Mr Trump had been a director of Trump International Golf Club Limited.

But he resigned that position on Thursday, just a day before he was sworn in to his new role.

He also gave up similar positions with Golf Recreation Scotland Ltd, SLC Turnberry Ltd, DT Connect Europe Ltd and Nitto World.

The controversial tycoon owns two golf courses in Scotland, at Menie and Turnberry.

It emerged earlier this week that he will still be able to make potentially lucrative visits to his Scottish golf courses while he is President, despite accusations of a conflict of interest.

Last week Mr Trump tried to head off those attacks by announcing that he would hand control of his businesses over to his two sons.

Aides insist that Mr Trump will have “no knowledge or input” into how his companies are run.

But he will still be able to make high-profile trips to his golf courses, which will then be able to offer tourists the opportunity to play the same links as the President of the United States.

In an interview with the Times this week Mr Trump said that his Turnberry resort was “doing unbelievably” following the fall in the value of the pound after last year's vote to leave the European Union.

He could visit his Scottish businesses within months.

Whitehall sources expect him to travel to Scotland as part of a hoped-for trip to the UK later this year.