According to court documents obtained by Law&Crime, the man accused of a racist attack on a Buffalo, New York grocery store was charged with multiple federal offenses on Wednesday.

According to the documents, Payton S. Gendron, 18, of Conklin, New York, has been charged with 26 new counts. The charges include ten counts of a hate crime resulting in death, three counts of a hate crime involving bodily injury and an attempt to kill, ten counts of using a firearm to commit murder during and in relation to a violent crime, and three counts of using and discharging a firearm during and in relation to a violent crime.

An FBI agent’s affidavit explains how the shooting went:

According to the affidavit, Gendron said “sorry” to a white victim who he apparently shot accidentally. Again, this is from the document:

After killing Victim 7, GENDRON turned and aimed his rifle at a white male Tops employee (“Victim 8”), who had been shot in the leg and injured earlier in the attack. Instead of shooting him, GENDRON apologized to Victim 8 before proceeding through the rest of the store in search of more Black people to shoot and kill. One of the shots also struck a white female Tops employee (“Victim 9”) in the pharmacy area of the store, which is near the checkout lanes, at some point during the attack.

According to the affidavit, Gendron’s rifle also had “various writings” on it, including “the names of others who have committed mass shootings, racial slurs, the statement ‘Here’s your reparations!,’ and the phrase ‘The Great Replacement.'” The latter is an obvious allusion to the racist conspiracy theory that global elites are attempting to replace white voters with people of color in order to shift electoral patterns.

According to the affidavit, Gendron is accused of firing approximately 60 bullets during the attack.

The document also claims that Gendron kept a “loaded 12-gauge shotgun, a loaded bolt-action rifle, and three loaded rifle magazines” in his Ford Taurus while committing the mass murders with his Bushmaster XM-15.

The feds also claim that Gendron left a “handwritten note” in his Conklin bedroom. According to the affidavit, Gendron “apologized to his family for committing ‘this attack’ and stated that he ‘had to commit this attack’ because he cares ‘for the future of the White race.'”

According to the affidavit, federal agents discovered the document during a warrant-enforced search of Gendron’s home.

Federal agents say they discovered a March 8 receipt documenting the purchase of a candy bar from the Tops market where the shooting occurred on May 14.

The affidavit also states that “handwritten sketches of what appear to be the interior layout of the Tops” were recovered from Gendron’s bedroom.

The document also contains numerous references to what the FBI referred to as Gendron’s “self-described manifesto.” According to the affidavit, that document, which was recovered from the internet, was similar to draft documents recovered from Gendron’s computer.

According to the affidavit, Gendron went to the Tops store “at least three times” on March 8, went back on May 13 (the day before the attack), and conducted reconnaissance at least once before the attack on May 14. Gendron allegedly “noted where the security guard was positioned” during the latter visit, which occurred around noon on May 14.

According to the document, he began shooting about two and a half hours later.

Aside from the federal criminal complaint filed on Wednesday, Gendron is also facing a 25-count indictment on state-level charges. Domestic terrorism, first-degree murder, second-degree murder, attempted second-degree murder, and weapons possession are among the charges. Hate crimes and other enhancements are included in several of the charges. In a state court in Erie County, New York, Gendron pleaded not guilty to all of the charges against him.