Enrique Marquez, a friend of San Bernardino attacker Syed Farook, has been charged with multiple terrorism-related charges for his alleged role in supporting the mass shooting. According to officials, Marquez admitted to purchasing the assault rifles that Farook and his wife Tashfeen Malik used in the attack that killed 14 people this month.

Marquez, 24, was charged with providing material support to terrorists, making false statements while purchasing a firearm, and immigration fraud, according to the criminal complaint filed against him. He was arrested by FBI agents today.

Marquez allegedly purchased the rifles used in Farook and Malik’s attack in 2011 and 2012. He has cooperated with investigators thus far, “supplying much of what federal authorities know about the couple,” the Times reports, and is the first person charged in connection with the shooting. Farook and Malik were both killed by police on the scene.

Officials have “no evidence that Mr. Marquez participated in the Dec. 2, 2015 attack or had advance knowledge of it,” U.S. Attorney Eileen M. Decker wrote in a statement, but is being charged for “his prior purchase of the firearms and ongoing failure to warn authorities about Farook’s intent to commit mass murder.”

Marquez told authorities that Farook had told him about a plan to commit an attack in 2012, the Post reports. The criminal complaint against him alleges that the pair began planning to commit terrorist acts in 2011, and that Marquez purchased explosives for the purposes of an attack the following year.

Among the most vivid excerpts from the complaint shows a bizarrely frank discussion Marquez had via Facebook about his alleged role in terrorist plots.

And a transcript of his 911 call shows Marquez telling the dispatcher, “The asshole used my gun in the shooting.

Marquez converted to Islam four years ago, and is married to the sister of Farook’s brother’s wife, the Post reports. The complaint against him calls that marriage “fraudulent,” and alleges that he was paid $200 per month for his role as husband.

Image via AP. Contact the author at andy@gawker.com.