BALTIMORE — A Maryland police officer says a woman pointed a shotgun directly at him in the moments before an officer fatally shot her.

Testifying in a civil lawsuit brought by Korryn Gaines’ relatives, Baltimore County Officer Allen Griffin III said he immediately knew the situation was unsafe and that he needed to retreat when he saw Gaines’ shotgun.

The Baltimore Sun reported Griffin testified Friday that he and Cpl. John Dowell went to Gaines’ Randallstown apartment in August 2016 to serve warrants on Gaines and her fiance.

Griffin said he entered the apartment and saw Gaines with the shotgun “that she held right at me.” Dowell testified that the officers took cover in the hallway.

Eventually, an officer fired at Gaines multiple times.

The lawsuit claims police used excessive force.