PROVIDENCE, R.I. (AP) — Rhode Island's attorney general says Woonsocket police officers were justified in shooting a man who had held them at bay for two hours in a parking lot.

The review of the incident was released Thursday.

The man was shot after he allegedly shot a police officer.

Prosecutors say 22-year-old Tyler Chandler, of Portsmouth, shot the officer in the thigh July 2 after the officer saw him walking with a gun in his hand. Chandler was apprehended after the parking lot standoff. Police used a concussion grenade.

Chandler sustained non-life threatening injuries. His public defender couldn't immediately be reached Thursday to comment.

The attorney general's office determined each of the five officers involved had probable cause to believe Chandler posed a threat of serious physical harm.