WASHINGTON, United States - Nigel Farage, who led Britain's vote to leave the European Union, has agreed to become a contributor to US-based Fox News, the network said Friday.

The former head of the UK Independence Party "will offer political analysis" for Fox News Channel and Fox Business Network, a statement said.

Farage has been closely aligned with Donald Trump and last month visited the president-elect at Trump Tower in New York.

Nigel Farage to become close unofficial adviser to Trump https://t.co/xrNP9Bb5Cd — David Jones (@DavidJo52951945) January 21, 2017

He campaigned on behalf of Trump last year, believing the real estate tycoon and former reality TV star had tapped into similar anger over globalisation and ruling elites as the anti-EU campaign in Britain.

A genuine political revolution has taken place in America https://t.co/WdTEFnJsHY — Nigel Farage (@Nigel_Farage) January 20, 2017

Trump rewarded his loyalty by recommending that Farage serve as British ambassador to the United States, irritating Downing Street.