The man accused of opening fire at Los Angeles International Airport, shooting employees and terrorizing travelers, accomplished two of his goals, according to authorities: killing a Transportation Security Administration officer and showing how easy it is to get a gun into an airport.

The deadly rampage left investigators to piece together what motivated Paul Ciancia’s hatred toward the agency formed to make air travel safer after the Sept. 11 terrorist attacks. But the attack could ultimately lead to changes in the way airports are patrolled.

Ciancia, who was shot four times by airport police, remained in critical condition Monday. He has not been scheduled to appear in court. Any appearance will depend on when his doctors say he’s ready, FBI spokeswoman Laura Eimiller said.

The FBI said Ciancia had a handwritten letter, stating that he made the conscious decision to try to kill multiple TSA officers and “instill fear in your traitorous minds.”

The unemployed motorcycle mechanic who recently moved to Los Angeles from the small, blue-collar town of Pennsville, N.J., had a friend drop him at LAX on Friday just moments before he pulled a .223-caliber assault rifle from his duffel bag and opened fire, killing one TSA officer and wounding three other people, including two more TSA workers.

Officials do not believe that the friend knew of the shooter’s plans. Ciancia arrived at the airport in a black Hyundai and was not a ticketed passenger.

Ciancia is charged with murder of a federal officer and committing violence at an international airport, charges that could qualify him for the death penalty. It was not immediately clear when he would make a first court appearance given his medical condition.

Authorities say Ciancia walked into the airport’s Terminal 3, pulled the assault rifle from his duffel bag and fired repeatedly at 39-year-old TSA officer Gerardo I. Hernandez. Ciancia went up an escalator, turned back to see Hernandez move and returned to shoot him again, according to surveillance video reviewed by investigators.

He then fired on two other uniformed TSA employees and an airline passenger, who all were wounded.

The FBI was still looking into Ciancia’s past, but investigators said they had not found evidence of previous crimes or any run-ins with the TSA. They said he had never applied for a job with the agency.

On Monday, Ciancia’s New Jersey relatives offered sympathy to the family of the slain security officer and their hopes for the recovery of other victims.

The TSA said the other two officers wounded in the attack — James Speer, 54, and Tony Grigsby, 36 — were released from the hospital.

Brian Ludmer, a high school teacher, remained hospitalized. His condition was upgraded from fair to good.