Massachusetts Air National Guardsman Jack Teixeira was sentenced to 15 years in US prison for leaking Pentagon documents.