A police officer in Virginia died Saturday night after responding to a shooting – just a day after she was sworn into the department.

According to authorities, Ashley Guindon drove to the scene of a domestic-related shooting in Woodbridge, Virginia, around 5:30 p.m. after neighbors called to report the sound of gunshots going off in the area, NBC 4 reports.

Two other officers were injured in the shooting with one in critical condition, according to CNN.

>> Read more trending stories

Police said a woman was killed in the domestic dispute, allegedly the wife of the shooter. Police said Ronald Hamilton was arrested and charged with capital murder, first-degree murder, malicious wounding of an officer and use of a firearm, according to NBC 4.

The Prince William County Police Department sent a tweet out Friday welcoming Guindon to the department as a new officer, which ironically read the words, "Be safe!" in the post.

The department shared a photo of a squad car draped in black with a pile of flowers on the hood Sunday.