The defendant allegedly tried to kill one of the victims twice.
Donoban Fonseca is scheduled to be arraigned Friday in a downtown Los Angeles courtroom on three counts each of attempted murder, conspiracy to dissuade a witness, attempting to dissuade a witness, and two counts of extortion, the Los Angeles County district attorney's office said in a statement.
One of the victims was identified by friends as Daniela Hernandez, who was stabbed multiple times and had her throat slashed in an attack that occurred about 9 p.m. on Oct. 11.
"She's a very kind individual who is always doing good for people and just for her to be attacked in this way is not fair," Bamby Salcedo, president of TransLatin@ Coalition, said at a vigil for Hernandez. Salcedo said Hernandez was stabbed 16 times.
MORE: Arrests made in attack on transgender women in Hollywood
The other victim was attacked in the same park on Aug. 21 and Sept. 1, authorities said. Neither victim has been publicly identified by authorities.
The charges against Fonseca include allegations that the incidents were hate crimes and were committed for the benefit of a gang. He was being held on $1.07 million bail after being taken into custody by the Los Angeles Police Department.
If convicted as charged, Fonseca faces a maximum possible sentence of life in prison, according to the DA's office.
City News Service contributed to this report.
MORE: Transgender woman brutally beaten by mob inside home