US President Donald Trump has announced that Venezuela has freed an American national from detention.

In a tweet on Saturday morning, Trump did not identify the American by name but said he would be welcomed at the White House with his family in the evening.

The person appeared to be Joshua Holt, who was arrested shortly after arriving in Venezuela about two years ago.

In July 2016, Venezuela said it had arrested Joshua Holt and his Venezuelan wife on charges of fomenting unrest against embattled President Nicolas Maduro, Presstv reported.

Venezuelan Interior Minister Gustavo Gonzalez Lopez said that the country’s intelligence service had detained Holt in a public housing complex on the western outskirts of the capital, Caracas, on June 30, 2016.

He was arrested, according to Lopez, on suspicion of “urging armed groups to destabilize Venezuela.”

On Tuesday, Venezuela kicked out the top two US diplomatic representatives in the country in response to Washington's latest round of sanctions imposed over recent election results.

President Maduro ordered the expulsion of US charge d'affaires Todd Robinson and deputy head of mission Brian Naranjo and declared both of them "persona non grata."

On Monday, Trump boosted sanctions against Caracas, making it harder for the country to liquidate state assets.

Washington has already imposed sanctions against Venezuela and blamed, together with its allies in the region and elsewhere, Maduro’s government for the country’s acute economic crisis.