A former US government contractor has been sentenced to more than 5 years in prison after leaking official NSA documents to a news organisation.

The document detailed Russian government efforts to penetrate a Florida-based supplier of voting software and the accounts of election officials ahead of the 2016 elections.

The sentence is the longest ever imposed for an unauthorised disclosure to the media.