Two other deputies were injured in the shootout.