The shooting happened Sunday afternoon at the Arbor Lakes Apartment Complex, in 4200-block of North Bloomington Avenue in Arlington Heights, police said.
Police said the woman who lived in the apartment had an order of protection against Jimmie Jackson Franklin, the Chicago man who was killed.
RELATED: Man fatally shot at Arlington Heights apartment, resident had order of protection, police say
Franklin went into the woman's home, where attacked another man, who retrieved a gun and fired at Franklin, killing him, police said.
The woman had an order of protection against Franklin, police said. The gun owner has a valid concealed carry license, police said.