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

Dec. 17, 2015, 12:04 PM GMT / Updated Dec. 17, 2015, 12:04 PM GMT By Pete Williams

Federal prosecutors have decided to bring criminal charges against the friend and former neighbor of one of the San Bernardino shooters.

Several federal law enforcement officials tell NBC News that the first criminal charges to stem from the massacre will be brought against Enrique Marquez, a long-time friend and former neighbor of gunman Syed Rizwan Farook. The charges could be filed as early as Thursday.

Investigators have said Marquez bought the two assault rifles three years ago that wound up being used in the shooting.

Officials say Marquez has told them he did it as a favor, so that Farook would not have to go through a background check or be on record as the purchaser.

Authorities say Marquez has told the FBI that he and Farook talked about conducting some kind of attack in 2010 but called it off after unrelated terrorism arrests in southern California.