A woman was walking a dog in Washington, DC when she was fatally stabbed in an apparent random attack on Tuesday, police and reports said.

Margery Magill, 27, was working as a dog walker for the app Rover in the Northwest section of the city just before 9 p.m. when Eliyas Aregahegne, 24, allegedly knifed her to death, NBC Washington reported.

Police and medics responded and rushed her to a nearby hospital, where she died, DC cops said.

Cops arrested Aregahegne for the killing on Wednesday and charged him with first degree murder, authorities said.

Police said Wednesday they believe the slaying was a random attack and not an attempted robbery or sexual assault, according to the NBC report.

Magill graduated from the University of California, Davis, in 2015, according to the NBC report.

She was working in the nation’s capital for a nonprofit organization that connects recent college graduates with jobs and internships, according to NBC Washington.

“She loved the city. She loved the energy. She really wanted to build her career here and thrive off of the energy that was Washington, DC,” her sister, Raeann Magill, told the news station.