The top cyber-security official in the US government is leaving his post after a little over a year in the job.

White House National Cyber Director Sean Cairncross was fired after losing the confidence of the White House chief of staff, Stephen Miller, according CBS, the BBC's US news partner.

His firing comes after a string of tech outages which hit banking, air traffic control and other sectors.

Cairncross was previously a lawyer in the Republican Party, before becoming the chief operating officer of the Republican National Committee.

In the first Trump administration, he was part of the team of the White House chief of staff.