The gunman died by suicide in his apartment as police closed in, according to the D.C. Metropolitan Police Department.