-- Edgar Maddison Welch, who fired shots in a Washington, D.C., pizza restaurant in December, was sentenced to four years in prison for federal and local crimes.
Welch "carried a loaded AR-15 assault rifle and a revolver into a Northwest Washington pizza restaurant, scattering employees and customers, and fired his assault rifle into a door," the U.S. Attorney's Office for D.C. said in a statement announcing the sentence.
Judge Ketanji Brown Jackson called "the extent of the recklessness" of the defendant's actions "breathtaking" as she sentenced Welch on Thursday.
Jackson said she had no reason to doubt that Welch "thought" he was "being helpful," but said she could not "overstate" the concern that "other people will see what you have done and be inspired by it."
“No matter how well-intentioned, people are not allowed to take matters into their own hands,” she said.
Welch's defense attorney, Dani Jahn, gave a passionate plea for a lighter sentence for her client, saying that 18 months would be a "strong sentence."
“He is extremely remorseful and it is sincere and it is significant,” she added.
Welch spoke briefly in court, apologizing to everyone involved, including the restaurant staff.
Comet Ping Pong owner James Alefantis said in court that his staff was "brave" and that Welch caused him physical, emotional and financial harm.
“So many of us have suffered from the defendant’s actions,” he said.
ABC News' Julia Jacobo contributed to this report.