BBC presenter Gary Lineker has won a £4.9 million tax battle with the UK Government.

The Match Of The Day host was told by HMRC he should have been classed as an employee of the BBC and BT Sport for his presenting duties, rather than as a freelancer.

The tax authorities pursued him for £4.9 million which it was claimed should have been paid on income received between 2013 and 2018.

It comes as part of legislation known as IR35, designed to clampdown on tax avoidance by so-called disguised employees, who charge for their services via limited companies.

READ MORE: Gary Lineker bewildered by ‘disproportionate’ response to immigration bill tweet

Throughout proceedings the presenter, 62, insisted all taxes were paid on the income via a partnership set up in 2012 with his ex-wife Danielle Bux.

Tribunal Judge John Brooks found the IR35 legislation did not apply because there were direct contracts between the presenter and both the BBC and BT Sport.

The tribunal found that while Gary Lineker Media (GLM), which he set up with his then wife in 2012, was a partnership to which IR35 legislation applies, the appeal was still granted in full because contracts existed.

HMRC is considering appealing the decision.

The judge said: “As a matter of law, when Mr Lineker signed the 2013 BBC Contract, the 2015 BBC Contract and the BT Sport Contract for the provision of his services, he did so as principal thereby contracting directly with the BBC and BT Sport.

“As such, the intermediaries legislation cannot apply – it is only applicable ‘where services are provided not under a contract directly between client and the worker’.

The National:

“In this case Mr Lineker’s services were provided under direct contracts with the BBC and BT Sport.

“Although such a conclusion might appear inconsistent with my conclusions that the intermediaries legislation can apply to partnerships … that is not the case.”

He added that he could “dispose of the entire appeal in the appellants’ favour and the appeal is therefore allowed”.

The case follows similar attempts by HMRC to target other broadcasters including Lorraine Kelly and Kaye Adams.

Earlier tribunal documents said Lineker is disputing the bill and it has been agreed he paid the income tax in full.

Lineker’s lawyer James Rivett KC told a preliminary hearing in London last month that the star had been “dragged through the papers accused of not paying income tax which has been paid”, and claimed there was a political element to the investigations.

READ MORE: BBC defends its news coverage of Gary Lineker row after viewers’ complaints

Following the ruling an HMRC spokesperson said: “The tribunal has confirmed the off-payroll rules apply to partnerships, as we have always said.

“However, we do not agree with its decision that the rules cannot apply in this case and we’re considering an appeal.

“It is our duty to ensure everyone pays the right tax under the law, regardless of wealth or status.”

Lineker is Match of the Day’s longest-serving presenter and has been on the football show since the 1990s following a successful football career.

He did not present the show for one Saturday earlier this month after tweeting about the Government’s Illegal Migration Bill, which sparked an impartiality row. He returned to the show the following week.

HMRC has 56 days to appeal to the Upper Tribunal (Tax and Chancery Chamber) if it wishes to do so.