A Minneapolis police officer disarmed and arrested a man who allegedly pointed a gun at another man during a fight that broke out outside a downtown police station early Monday, authorities said.

Diawain Adams, 21, of Brooklyn Park was charged with second-degree assault after authorities say he pulled a handgun from his waistband and started chasing another man near the corner of N. 1st Avenue and 4th Street, according to a criminal complaint. Police say that Adams has a permit to carry a gun.

The incident occured between 2:51 and 3:15 a.m.

Officer Brent Rasmussen, who spotted between six to eight men fighting in the street outside First Precinct headquarters, said that he immediately took off after the gun-toting Adams, the complaint read. Prosecutors said that the officer “considered” shooting Adams, who was holding the gun inches from the other man’s head, but he couldn’t get a clear shot.

Instead, they said, Rasmussen caught up to Adams and ordered him at gunpoint to drop his weapon, the complaint said.

Adams told authorities that he had pulled out the gun after someone punched him. Adams, who remains jailed in lieu of $100,000, is expected to make his initial court appearance on Wednesday.

Police used a Taser to subdue another man at the scene who they say ignored officers' commands to move away from the discarded gun. The 21-year-old city man was later released after posting bail.