A number of telephone calls were received by Police Scotland reporting a large scale disturbance involving several men fighting with knives in Dumfries on the evening of May 29.
It was also reported that a number of people had been injured.
At the time of the incident, coronavirus regulations were in force.
Police officers, including a specially trained officer, were sent to the incident and on arrival were confronted by 19-year-old man with a knife, who shortly before had been involved in the disturbance.
A police report read that the specially trained officer discharged his taser at the man after he moved towards the officer.
The initial discharge missed the man who then threw the knife at the officer striking him on the shoulder.
The officer discharged his taser again, which had an immediate effect.
The incident was referred to the Police Investigations and Review Commissioner (PIRC) by Police Scotland in June.
After an investigation, the PIRC concluded that the use of the taser was “necessary, proportionate and justified”.