The gunman faces life in prison after he pleaded guilty to a domestic terrorism motivated by hate charge, which makes him the first to be charged with that in New York state.