A 60-year-old Moffat County man was killed during a home invasion shootout in Craig -- except he was the one who was doing the breaking in with a gun.Police were dispatched to a home in the 800 block of Washington Street at about 5:40 p.m. on Sunday on a report of a home invasion. The 911 dispatcher told officers that shots could be heard from inside the home.Officers found Mario Vigil lying on a floor outside a bedroom. He was pronounced dead at the scene.The officers then found the homeowner, 33-year-old Josh Jackson, and his 9-year-old son hiding in a bedroom.An investigation revealed that Jackson saw Vigil trying to break into the front door with the butt end of a rifle. Jackson grabbed a .410 shotgun and shot the intruder in the chest as he entered the home, but the shot did not stop him, police said.Jackson and his son ran into a back bedroom and locked the door. Jackson told his son to hide under a bed and then grabbed a 30-06 rifle and started loading it. Police said the intruder then fired two rounds from a 30.30 rifle through the closed bedroom door.Jackson yelled at him to leave and fired one round from his weapon through the bedroom door into the hallway. The intruder fired two more rounds and then began busting open the bedroom door, police said.At that point Jackson fired another round, which apparently struck the intruder in the right hip area. The door remained closed and Jackson and his son stayed in the bedroom until officers arrived.Police determined that earlier in the evening, Vigil was involved in a domestic violence case with Jackson's mother. Vigil had fired one round at the girlfriend and made threats to hurt her family, including killing her son and her 9-year-old grandson.An initial investigation revealed the shooting was justifiable and was in self defense, police said.