NOTE: This story was updated on Monday at 12:25 p.m.to reflect the correct first name of one of the brothers and the nature of aid that first responding officers gave to the one that was shot.

SPRINGFIELD — A Webber Street resident shot one of two men who broke into his home early Saturday while he was there with his 3-year-old daughter, according to police.

The resident had a licensed firearm and police called the incident "a justified self-defense shooting."

Springfield Police Sgt. John M. Delaney said two brothers from East Longmeadow began ringing the man's doorbell and kicking the door shortly after midnight, threatening to "light up the house." The incident appeared to be a matter of mistaken identity as the duo repeatedly addressed the resident by the wrong name, Delaney said.

"The homeowner confronted them in his living room. Both ... refused to leave and advanced on him while threatening him," Delaney said.

At that point the resident shot one of the men, Jordan Eady, 24, of 9 Blackdog Lane in East Longmeadow. He sustained a gunshot wounds to his arm.

The brothers fled the scene and were running up Webber Street but were stopped by responding officers, Delaney said. Police gave first aid to the wounded brother before he was taken to Baystate Medical Center.

Jordan Eady was treated and released to the police lock-up, along with his brother, Jovan Eady, 22, Delaney said.

Both brothers have been charged with armed burglary, threat to murder, and defacement of real property.

"It appears that the Eady brothers were at the wrong house and picked the wrong homeowner to threaten," Delaney said.