(CNN)Enrique Marquez was indicted by a federal grand jury Wednesday and accused of conspiring with San Bernardino shooter Sayed Rizwan Farook to provide material support to terrorists.
Marquez, who was arrested two weeks ago, also faces two counts of making a false statement when buying two rifles, one count of marriage fraud and one count of making a false statement on immigration paperwork.
Marquez is suspected of buying rifles used by Farook and Farook's wife, Tashfeen Malik, in the December 2 mass shooting that left 14 people dead in the Southern California city. Farook and Malik were killed in a shootout with police a few hours later.
Authorities said Marquez, 24, and Farook, who he met in college, planned terror attacks but never carried one out.
Marquez bought firearms from local stores in late 2011 and early 2012, authorities said. Although he identified himself as the buyer at the time, he actually bought the rifles for Farook as part of their plans to attack a college and a freeway, according to the federal complaint.
Marquez was denied bail during a hearing nine days ago. He didn't enter a plea at that time.
He will be arraigned January 6, the Justice Department said Wednesday.
CNN attempted to reach Marquez's court-appointed attorneys but didn't get an immediate response.