An off-duty Immigration and Customs Enforcement (ICE) agent fatally shot an armed neighbor after the man began firing shots into the air at a Los Angeles apartment complex late Wednesday night, authorities said.

The incident happened at around 10:30 p.m. on New Year's Eve near the intersection of Roscoe Boulevard and Louise Avenue in the Northridge neighborhood. A man began shooting a rifle, prompting the off-duty federal agent to intervene, off-duty ICE agent, who has not been publicly identified, confronted the man before firing his weapon. He then immediately called 911, according to the criminal illegal immigrants on Christmas Eve and Christmas Day.

"While families across the country joined together for Christmas celebrations, ICE continued delivering the American people the greatest gift of all: getting criminals out of our neighborhoods and protecting our families," McLaughlin said in a statement.

The LAPD did not immediately respond to Fox News Digital's request for comment.