A woman who fired a gun at her neighbors has been arrested by police after a nine hour standoff that included the SWAT team being called to her San Diego apartment and her standing topless in front of her shattered window on Thursday.

Police were first called to 35-year-old Brittany Lefler's apartment on Beadnell Way around midnight after numerous neighbors complained about the noise coming from her home, CBS 8 reported.

Officers left her home once she quieted down, but around 5am, she was reportedly spotted walking around with a handgun as she allegedly threatened the neighbors who she believed called the police on her.

Brittany Lefler, 35, allegedly fired a gun at her neighbors before she ran back to her apartment and was in a nine hour standoff with authorities. At one point, Lefler stood in front of her window topless (above) as the situation continued to unfold

The situation started when police were first called to Lefler's apartment around midnight after neighbors made a noise complaint against her. She is pictured above surrendering to police

She quieted down, but around 5am, she was reportedly spotted walking around with a handgun as she allegedly threatened the neighbors who she believed called the police on her. She is pictured above surrendering to police

But around 2pm, Lefler finally came out of the apartment with her hands up and was placed in handcuffs by SWAT team members and police officers (above). She put a shirt on as well as a sweater

'She ran back into her apartment and our suspect fired at least one round through the door in the apartment,' Lt. Scott Wahl of the San Diego Police Department told CBS 8.

'It went through a couple walls and we think it lodged in a bathroom inside that apartment.'

He added that three people were inside the apartment, including a child, but no one was hurt.

When police officers arrived back to the scene, Lefler did not come out of her home and refused to do so.

During the standoff, authorities evacuated a nearby preschool, and closed Balboa in both directions from Cannington to Mount Abernathy due to Lefler still refusing to come out of the building. Above the scene is pictured

Lt. Wahl said: 'We were able to bring the situation to a peaceful resolution and nobody got hurt'. Above the scene is pictured

Her neighbors were evacuated from their homes, as police officers attempted to have her surrender.

A SWAT team was then called in around 8am to take position and prepare to enter her home if needed.

Lefler (above) was expected to be booked into the county jail on suspicion of several charges, including resisting arrest and assault with a firearm

During the standoff, authorities evacuated a nearby preschool, and closed Balboa in both directions from Cannington to Mount Abernathy due to Lefler still refusing to come out of the building.

Lefler stayed inside of her apartment for the next nine hours, as she did not follow directions from officers to exit unarmed so she could be arrested.

At one point, Lefler went to her window topless as the situation continued to unfold.

But around 2pm, she finally came out of the apartment with her hands up and was placed in handcuffs by SWAT team members.

'We were able to bring the situation to a peaceful resolution and nobody got hurt,' Lt. Wahl said.