Actor Jamie Foxx has met with President Nicolas Maduro in Venezuela.

Jamie, who won the Best Actor Oscar for Ray in 2004, visited Maduro in the presidential palace in Caracas.

Jamie FoxxJamie Foxx (Chris Pizzello AP/PA Images)

State media said the Hollywood star was there to support the country’s socialist revolution and attend the signing of an agreement between Venezuela and its allies for the construction of houses for the poor.

Jamie posed for photos with the deeply-unpopular president of the economically embattled South American country.

In a national address on Tuesday, Maduro praised Jamie’s work.

Venezuela's President Nicolas MaduroVenezuela’s President Nicolas Maduro (Ariana Cubillos AP/PA Images)

The multi award-winning actor hasn’t commented publicly on what motivated his visit.

Several US celebrities have visited Venezuela to support the country’s socialist revolution over the years, including actors Sean Penn and Danny Glover.