ROCKFORD, Ill. (AP) — Authorities say a man was fatally shot by police officers following a standoff at a northern Illinois house.

Rockford police say a SWAT officer shot the man when he assaulted officers who entered the house Sunday night after several hours of negotiations seeking his surrender.

Police say officers surrounded the house where the man fled after he stole a car with two children inside. The victim was able to retrieve the children when the man took them out of the car a block away.

Police say the man confronted officers with a metal bar and then a large sword during the standoff. One officer was treated at a hospital for an injury.

The identity of the man who died wasn’t immediately released.

Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.