The suspect was arrested on 18 counts of attempted first-degree murder of a law enforcement officer, among other charges.