NBC: Jan. 6 rioter who charged police while carrying a gun sentenced to 7 years