(CNN) Police said a man in Dallas admitted that he followed a transgender woman to a bus stop before shooting her multiple times.

Domingo Ramirez-Cavente, 29, has been charged with aggravated assault in connection with the attack last Friday, the Dallas Police Department said in a statement. The attack has been treated by authorities as a hate crime.

Domingo Ramirez-Cavente, 29, is accused of assaulting a transgender woman in Dallas.

A transgender woman had surgery last week after she was shot multiple times at a bus stop. Police said a Latino man driving a late-model four-door Chevrolet pickup pulled alongside the victim and shouted transphobic slurs.

The victim walked away and went to a bus stop but the suspect saw her waiting alone and approached her, an arrest affidavit states.

The suspect opened fire, striking her multiple times in the chest and arm, officials said.