ORLANDO, Fla. -

The man linked to the Boston Marathon bombing suspects who was killed in a FBI-involved shooting was charged with aggravated battery earlier this month.

The man who was shot, Ibragim Todashev, 27, knew both of the Tsarnaev brothers, Tamerlan and Dzhokhar, a U.S. law enforcement official told CNN.

SPECIAL SECTON: Boston Marathon bombings

The agent shot in self-defense in the incident, which occurred at Todashev's house, the law enforcement source said.

While he was being questioned by an FBI agent, two Massachusetts State Police troopers and other law enforcement personnel, "a violent confrontation was initiated by the individual," FBI spokesman Jason Pack said.

Todashev was killed and "the agent sustained non-life-threatening injuries," Pack said.

Agents were led to Todashev, who had once lived in Boston, "through investigative leads," the official said.

Todashev was from the Chechnya region, as were the Tsarnaev brothers, who are suspects in the April 15 Boston bombings. He had been living in the United States as a legal resident since approximately 2008, the source said.

The source added that the FBI had been investigating Todashev for about a month; the bombings occurred on April 15.

Todashev charged with aggravated battery in May

On May 4, Orange County Sheriff's Office deputies arrested Todashev at 8200 Vineland Avenue in Orlando.

According to an arrest affidavit, Todashev got in an argument with a man and his son over a parking place. When Todashev pushed the man away, his son began swinging at him, Todashev told police.

Todashev fought back, and the man's son suffered head injuries, a split upper lip, and had several teeth knocked out, according to the arrest affidavit.

Todashev, a former mixed-martial arts fighter, posted $3,500 on May 5, police said.