A U.S. soldier based in Hawaii pleaded guilty on Wednesday to providing “secret military information” and other support to undercover agents who he thought were members of ISIS. The Associated Press reports that 35-year-old Sgt. 1st Class Ikaika Kang pleaded guilty to all four counts against him and told the court that he provided “classified” information. Prosecutor Ken Sorenson said Kang gave the agents a wealth of information since they had opened an investigation into his activities in August 2016—including digital files of the U.S. military’s “sensitive mobile airspace management system, various military manuals and documents containing personal information about U.S. service members.” Kang was a trained air traffic controller and Army combat instructor, and provided information about military “radio frequencies” and produced combat “training videos” meant for distribution in the Middle East. He also told an informant about his desire to be a “suicide bomber” for ISIS and attack Schofield Barracks, an Army base Honolulu. As part of a plea deal, Kang will serve 25 years and won’t be charged with Espionage Act violations, other terrorism-related laws, and firearms statutes.