North Dakota's attorney general says officers were justified in their use of deadly force against a man police say was having a mental health crisis.

Attorney General Drew Wrigley, Cass County Sheriff Jesse Jahner and other officials held a news conference Monday to provide additional information on the fatal shooting of 35-year-old Andrew Martinez in Mapleton on Aug. 1.

Wrigley says four officers fired their weapons when Martinez, armed with a semi-automatic rifle, appeared in the doorway of a residence and pointed the weapon at them following a four-hour standoff.

PRESIDENT BIDEN NOMINATES MCLAIN 'MAC' SCHNEIDER FOR US ATTORNEY IN NORTH DAKOTA

Negotiators urged Martinez to come out of the house without his weapon.

Fargo, Bismarck, Minot news

The North Dakota Attorney General ruled that police were justified in their use of deadly force after killing a man having a mental health crisis. The man pointed a semi-automatic rifle at officers.

WOMAN WALKS INTO NORTH DAKOTA BAR WITH RACOON, HEALTH OFFICIALS WARN OF RABIES EXPOSURE

Wrigley says 20 to 25 rounds were fired by the officers and five gunshots struck Martinez, who died at the scene after life-saving measures were attempted.

Jahner says no shots were fired at officers.

NORTH DAKOTA DELAYS $4.2 MILLION ROAD POST PROJECT AFTER FARMERS COMPLAIN

Neighbors were told to stay indoors during the standoff.