Enrique Marquez  san bernardino killers neighbor dnt todd tsr_00003828.jpg
PHOTO: 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
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
PHOTO: 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
PHOTO: Getty Images
Donald Trump Apple San Bernardino phone open orig vstop dlewis_00000000.jpg
Now playing
00:51
Trump to Apple: Open the phone
PHOTO: 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)
PHOTO: 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
PHOTO: Kyung Lah/CNN
Now playing
02:19
Sergeant opens up about terror attack
Syed Rizwan Farook and Tashfeen Malik.
PHOTO: 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
PHOTO: 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
PHOTO: 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
PHOTO: 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
PHOTO: 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.
PHOTO: 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?
PHOTO: Chicago O'Hare Airport
Now playing
01:59
FBI: We believe San Bernardino suspects radicalized
PHOTO: 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
PHOTO: FBI/GettyImage/Jae C. Hong/AP
Now playing
03:01
Did Tashfeen Malik radicalize her husband?
PHOTO: 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)
PHOTO: 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)
PHOTO: 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
PHOTO: Viralhog
mass shooting san bernardino police shootout newday_00011628.jpg
Now playing
01:35
Dramatic video shows San Bernardino shootout
PHOTO: Facebook/Inland Regional Renter
Now playing
00:42
What is the Inland Regional Center?

Story highlights

Enrique Marquez pleads not guilty to all charges in federal court

U.S. District Judge Sheri Pym sets his trial for February 23

Marquez is accused of buying guns used by the San Bernardino shooters

(CNN) —  

Enrique Marquez, a friend of San Bernardino shooter Syed Rizwan Farook, pleaded not guilty Wednesday in federal court to charges of conspiring to provide material support to terrorists, two counts of making false statements when buying two rifles, one count of marriage fraud and one count of making a false statement on immigration paperwork.

U.S. District Judge Sheri Pym set his trial for February 23. It’s expected to last 12 to 14 days, according to the prosecutor. A status conference and motion hearing will be held February 8.

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 San Bernardino. The married couple were killed in a shootout with police a few hours later.

With his hands and feet shackled, Marquez, 24, wore a white jail jumpsuit in court Wednesday. Pym asked the defendant his name, if he understood his rights and if he had seen his indictment.

Marquez said he understood his rights and had read his indictment but did not want it read aloud in court.

Authorities said Marquez and Farook planned terror attacks but never carried one out.

Marquez bought firearms from local stores in late 2011 and early 2012, authorities said. He identified himself as the buyer at the time but bought the rifles for Farook as part of their plans to attack Riverside City College and a freeway, according to the federal complaint.

CNN’s Ralph Ellis contributed to this report.