Enrique Marquez  san bernardino killers neighbor dnt todd tsr_00004016.jpg
From Enrique Marquez/Facebook
Enrique Marquez san bernardino killers neighbor dnt todd tsr_00004016.jpg
Now playing
02:00
Friend of San Bernardino killer arrested
apple fbi san bernardino shooters segall dnt lead _00004215.jpg
apple fbi san bernardino shooters segall dnt lead _00004215.jpg
Now playing
02:14
Why Apple is fighting FBI court order
donald trump apple boycott sot_00000905.jpg
donald trump apple boycott sot_00000905.jpg
Now playing
00:54
Donald Trump: Boycott Apple if they don't help FBI
syed rizwan farook possible terrorist connection fbi sot perez_00005519.jpg
Getty Images
syed rizwan farook possible terrorist connection fbi sot perez_00005519.jpg
Now playing
02:11
FBI raids linked to San Bernardino attacks
Donald Trump Apple San Bernardino phone open orig vstop dlewis_00000000.jpg
Getty Images
Donald Trump Apple San Bernardino phone open orig vstop dlewis_00000000.jpg
Now playing
00:51
Trump to Apple: Open the phone
Apple
Now playing
02:38
Judge tells Apple: unlock shooter's iPhone
Law enforcement officers search for the suspects of a mass shooting  December 2, 2015 in San Bernardino, California.  A man and a woman suspected of carrying out a deadly shooting at a center for the disabled were killed in a shootout with police, while a third person was detained, police said.        AFP PHOTO / PATRICK T.  FALLON / AFP / Patrick T. Fallon        (Photo credit should read PATRICK T. FALLON/AFP/Getty Images)
PATRICK T. FALLON/AFP/Getty Images
Law enforcement officers search for the suspects of a mass shooting December 2, 2015 in San Bernardino, California. A man and a woman suspected of carrying out a deadly shooting at a center for the disabled were killed in a shootout with police, while a third person was detained, police said. AFP PHOTO / PATRICK T. FALLON / AFP / Patrick T. Fallon (Photo credit should read PATRICK T. FALLON/AFP/Getty Images)
Now playing
01:05
Timeline for San Bernardino mass shooting
Kyung Lah/CNN
Now playing
02:19
Sergeant opens up about terror attack
Enrique Marquez  san bernardino killers neighbor dnt todd tsr_00003828.jpg
From Enrique Marquez/Facebook
Enrique Marquez san bernardino killers neighbor dnt todd tsr_00003828.jpg
Now playing
00:58
Friend of San Bernardino shooters pleads not guilty
Syed Rizwan Farook and Tashfeen Malik.
FBI/GETTY IMAGES
Syed Rizwan Farook and Tashfeen Malik.
Now playing
01:22
FBI: 18 minute gap in San Bernardino shooters' movements
Enrique Marquez  san bernardino killers neighbor dnt todd tsr_00004016.jpg
From Enrique Marquez/Facebook
Enrique Marquez san bernardino killers neighbor dnt todd tsr_00004016.jpg
Now playing
02:05
Suspect linked to San Bernardino shooters denied bail
CNN
Now playing
03:22
Inside the San Bernardino killer's visa files
San Bernardino mass shooting witness account orig_00005427.jpg
San Bernardino mass shooting witness account orig_00005427.jpg
Now playing
01:30
Mass shooting in San Bernardino
Enrique Marquez  san bernardino killers neighbor dnt todd tsr_00003828.jpg
From Enrique Marquez/Facebook
Enrique Marquez san bernardino killers neighbor dnt todd tsr_00003828.jpg
Now playing
01:42
FBI: Shooter's friend says they built pipe bombs
syed rizwan farook possible terrorist connection fbi sot perez_00005519.jpg
Getty Images
syed rizwan farook possible terrorist connection fbi sot perez_00005519.jpg
Now playing
02:28
FBI: Syed Farook possibly connected to terrorist
Syed Rizwan Farook and Tashfeen Malik.
FBI/GETTY IMAGES
Syed Rizwan Farook and Tashfeen Malik.
Now playing
02:30
Where were San Bernardino suspects trained?
ca san bernardino attacker father lah pkg_00003902.jpg
ca san bernardino attacker father lah pkg_00003902.jpg
Now playing
02:54
Was Farook's family aware of his radicalization?
Chicago O'Hare Airport
Now playing
01:59
FBI: We believe San Bernardino suspects radicalized
Paolo Mastrolilli/La Stampa
Now playing
02:13
Report: Shooter's father says his son supported ISIS
ISIS San Bernardino support sandoval newday pkg_00000000.jpg
ISIS San Bernardino support sandoval newday pkg_00000000.jpg
Now playing
01:37
ISIS: San Bernardino killers supported us
FBI/GettyImage/Jae C. Hong/AP
Now playing
03:01
Did Tashfeen Malik radicalize her husband?
california dmv
Now playing
02:06
Gunman's sister: He was shy and quiet
SAN BERNARDINO, CA - DECEMBER 03:  FBI agents and local law enforcement examine the crime scene where suspects of the Inland Regional Center were killed on December 3, 2015 in San Bernardino, California. Police continue to investigate a mass shooting at the Inland Regional Center in San Bernardino that left at least 14 people dead and another 17 injured. (Photo by Sean M. Haffey/Getty Images)
Sean M. Haffey/Getty Images North America/Getty Images
SAN BERNARDINO, CA - DECEMBER 03: FBI agents and local law enforcement examine the crime scene where suspects of the Inland Regional Center were killed on December 3, 2015 in San Bernardino, California. Police continue to investigate a mass shooting at the Inland Regional Center in San Bernardino that left at least 14 people dead and another 17 injured. (Photo by Sean M. Haffey/Getty Images)
Now playing
02:22
FBI investigating shootings as an 'act of terrorism'
Now playing
01:56
FBI: Investigating San Bernardino as 'act of terrorism'
landlord invites media san bernardino shooters home _00001411.jpg
landlord invites media san bernardino shooters home _00001411.jpg
Now playing
01:49
Take a look inside the San Bernardino shooters' home
landlord invites media san bernardino shooters home elam_00004807.jpg
landlord invites media san bernardino shooters home elam_00004807.jpg
Now playing
01:00
Why were reporters let inside the shooters' apartment
san bernardino lieutenant mike madden sot _00020306.jpg
san bernardino lieutenant mike madden sot _00020306.jpg
Now playing
02:08
Lt. Madden: Carnage was 'unspeakable'
SAN BERNARDINO, CA - DECEMBER 02:  SWAT officers enter an area where suspects were believed to be after the shooting at the Inland Regional Center on December 2, 2015 in San Bernardino, California.  Police continue to search for suspects in the shooting that left at least 14 people dead and another 17 injured.   (Photo by Sean M. Haffey/Getty Images)
Sean M. Haffey/Getty Images North America/Getty Images
SAN BERNARDINO, CA - DECEMBER 02: SWAT officers enter an area where suspects were believed to be after the shooting at the Inland Regional Center on December 2, 2015 in San Bernardino, California. Police continue to search for suspects in the shooting that left at least 14 people dead and another 17 injured. (Photo by Sean M. Haffey/Getty Images)
Now playing
03:07
Police audio reveals the swift response to shooting
shooters family attorney intv cuomo newday _00001620.jpg
shooters family attorney intv cuomo newday _00001620.jpg
Now playing
02:07
Attorney for shooters' family: A lot of things don't add up
mass shooting san bernardino police shootout newday_00011628.jpg
Viralhog
mass shooting san bernardino police shootout newday_00011628.jpg
Now playing
01:35
Dramatic video shows San Bernardino shootout
Facebook/Inland Regional Renter
Now playing
00:42
What is the Inland Regional Center?

Story highlights

NEW: Enrique Marquez makes an initial appearance in court; his lawyer declines to comment on the case

Authorities accuse Marquez of buying two rifles used in terror attack in San Bernardino

Marquez, 24, was a friend and former neighbor of Syed Rizwan Farook, one of the shooters

CNN —  

Before, investigators say, Enrique Marquez bought the semi-automatic rifles and the smokeless powder, before he allegedly plotted to throw pipe bombs into a busy street and gun down the hapless motorists stuck in the chaos. Before, even, he became a Muslim, there was Syed Rizwan Farook.

Marquez, 24 was charged Thursday with conspiring with Farook to provide material support to terrorism, making a false statement in connection with the acquisition of firearms, and immigration fraud, according to a statement from the Department of Justice.

Authorities say Marquez and Farook had known each other for years, and had even discussed, in detail, plans to carry out terror attacks that never materialized.

He is believed by authorities to have bought two semi-automatic rifles used by Farook and Farook’s wife, Tashfeen Malik, in the December 2 mass shooting and terror attack that left 14 people dead in the Southern California city.

Marquez has told investigators he didn’t know about the plans for that attack, U.S. officials have said. The complaint against him doesn’t allege Marquez was involved, either.

But authorities do say he bought the two rifles eventually used in the shooting, apparently in preparation for terror attacks that never happened – one against a community college Marquez and Farook had once attended, the other on a busy roadway.

Federal authorities also accused Marquez of buying explosive material later used in the San Bernardino attack.

“Mr. Marquez conspired with Mr. Farook to commit vicious attacks, as set forth in today’s charges,” said U.S. Attorney Eileen M. Decker.

“Even though these plans were not carried out, Mr. Marquez’s criminal conduct deeply affected San Bernardino County, Southern California and the entire United States when the guns purchased by Marquez were used to kill 14 innocent people and wound many others.”

He’s also accused of entering a sham marriage with a member of Farook’s family, according to the complaint.

911 call: ‘They can trace all the guns back to me’

Since the San Bernardino shootings, Marquez has waived his Miranda rights, cooperated with investigators and provided information, officials have said. He also checked himself into a mental health facility.

According to the complaint, Marquez called 911 on December 3. He told the operator that Farook was behind the San Bernardino attack.

“The f****** a****** used my gun in the shooting,” Marquez said. “They can trace all the guns back to me.”

When asked how Farook got his gun, Marquez said that he’d given it to him for safe storage, the complaint read.

“To me, he was reliable enough for him for storage, like to store my gun,” Marquez allegedly told the operator.

Officials: Enrique Marquez bought guns for Farook several years ago

Farook and Malik opened fire on Farook’s co-workers at a work event December 2. Police shot and killed them hours later.

The massacre was a terror attack, authorities have said. Both U.S.-born Farook and Pakistan native Malik expressed commitment to Islamic jihad and martyrdom in direct, private online messages in late 2013, months before Malik moved to the United States to live with Farook, FBI Director James Comey has said.

Malik also pledged allegiance to ISIS leader Abu Bakr al-Badghadi in a Facebook post as the San Bernardino attack was happening, three U.S. officials familiar with the investigation told CNN.

Authorities still are trying to learn more about whom the killers interacted with, how they hatched and carried out the plot and why.

Rifles and pipe bombs

Marquez’s path to involvement began, investigators say, in the garage of Farook’s home on Tomlinson Avenue in Riverside back in 2004 or 2005.

That’s where the two became friends, and Farook began introducing Marquez to Islam.

Towards the end of 2005, Marquez visited a mosque in Corona, California, and began to spend more time next door at Farook’s home, praying and discussing an increasingly radical form of Islam.

By 2011, Farook and Marquez were spending most of their time at Farook’s home, reading, listening to lectures and watching videos “involving radical Islamic content,” investigators say.

It was then that they began talking of using guns and bombs to attack targets in southern California, including the community college they had once attended together.

Marquez allegedly told investigators their plan was to drop pipe bombs from the second floor of the cafeteria, then escape and mount another attack elsewhere on campus.

They also talked about hitting busy SR-91 during rush hour, investigators say, citing interviews with Marquez after the San Bernardino attack. They would toss pipe bombs into traffic, disabling vehicles with the explosions, then shoot into the trapped cars, Marquez allegedly told investigators.

Their discussions became action in 2011, investigators say, with a decision for Marquez to buy two rifles for use in the attacks. He was chosen, investigators say, because his Caucasian appearance would draw less attention.

The two made multiple trips to gun ranges to practice shooting, according to the complaint.

He later bought smokeless powder found in one of improvised explosive devices found at the scene of the San Bernardino attack, investigators say.

Marquez has told investigators that he used to build pipe bombs with Farook, portraying himself and his friend as hobbyists experimenting with building the devices, law enforcement officials said.

By the last half of 2012, however, it seems their plans had lost momentum.

According to the complaint, which cited Marquez, their contact started to decline after 2012, and they stopped planning attacks together. Marquez, according to the complaint, said he was spooked by the arrests of four Southern California men accused of conspiring to provide material support to terrorists.

Marquez, a state-licensed security guard until his license expired last year, said he had nothing to do with the pipe bombs that authorities found at Farook’s home after the December 2 attack, or the ones that apparently failed to go off at the site of the shooting, the officials said.

Neighbors: They worked on cars together

Talking to CNN last week, neighbors of the Riverside homes where Marquez and Farook lived next door to one another recalled the two working on cars together but did not know their relationship extended beyond that shared interest.

As for the killers, the bodies of Farook and Malik were buried Tuesday, 13 days after the attacks, according to the Law Offices of David S. Chesley, the California attorney who represents Farook’s family. A funeral for the couple Tuesday in Rosamond, north of Los Angeles, was attended by family members and “very few” friends, a source told CNN on condition of anonymity.

President Barack Obama is expected to travel to San Bernardino on Friday to meet privately with families of the victims of this month’s attack.

CNN’s Scott Glover, Alberto Moya and Lorenza Brascia contributed to this report.