The Afghan military and at least seven other countries, including Iraq, Brazil, Georgia, and Japan, now use the rifle, and various police agencies and S.W.A.T. teams in the U.S. have adopted the once military-only gun for domestic law enforcement operations.