Police said a Bensalem woman fired a gun at her boyfriend after an argument.

A Bensalem woman is accused of firing a gun in her boyfriend’s direction outside her apartment earlier this month, according to police.

Bensalem police said Amaany Nima Abdul Nuwr, 33, fired the gun in his direction about 3 a.m. March 2.

Nuwr is charged with aggravated assault, a felony, as well as misdemeanors of simple assault and recklessly endangering another person.

Court documents state the two were arguing in her Grandview Gardens apartment in the 900 block of Bristol Pike that morning.

She asked her boyfriend to leave, and as he was on the walkway headed toward the parking lot, he heard Abdul Nuwr yell from her window, and then heard a gunshot, police said.

Abdul Nuwr’s neighbor called 911, and officers spent about three hours trying to get Abdul Nuwr out of her apartment, court documents allege.

She told police she had a 9 mm handgun, which was registered to her, in her apartment, and police found a 9 mm shell casing on the ground outside her apartment, according to police.

Abdul Nuwr refused to talk to police, but “spontaneously stated” that the gun went off in her apartment by accident, court documents state.

As of Thursday she remained in Bucks County Prison in lieu of 10% of $75,000 bail.

She has waived her preliminary hearing, according to court records. Her formal arraignment is scheduled for April 9.