Breaking News Emails Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

Dec. 17, 2015, 10:06 PM GMT / Updated Dec. 18, 2015, 1:15 AM GMT By Pete Williams and Alex Johnson

Enrique Marquez Jr., a friend and former neighbor of San Bernardino, California, gunman Syed Rizwan Farook, was charged Thursday with buying the rifles used in the Dec. 2 assault and plotting other terrorist attacks with Farook in 2011 and 2012.

Investigators said Marquez, 24, bought the .223-caliber DPMS model AR-15 and the Smith & Wesson M&P15 assault-style rifles used in the shootings at the Inland Resource Center, which killed 14 people.

He was charged in U.S. District Court in Riverside, California, with conspiring with Farook to provide material support — including himself, a firearm and explosives — for crimes of terrorism; making a false statement in connection with the acquisition of firearms; and immigration fraud for what authorities said was his sham marriage to a distant relative of Farook's.

If he's convicted, Marquez, who was arrested at 12:45 p.m. (3:45 p.m. ET), could face 15 years in federal prison on the terrorism charge and 10 years each on the two other charges. Bail will be set Monday, and a preliminary hearing was scheduled for Jan. 4.

U.S. Attorney Eileen Decker stressed that there was, as yet, no evidence that Marquez took part in or knew about the resource center attack. But she said his purchase of the firearms and his failure to warn authorities about Farook's intention to carry out some sort of mass casualty attack "had fatal consequences."