“Maze Runner: The Scorch Trials” star Rosa Salazar has reportedly landed the lead role in James Cameron's long-brewing adaptation of "Battle Angel Alita."

The 30-year-old actress was reported just last month to be among the three finalists for the coveted role, alongside Disney Channel sensation Zendaya and “It Follows'” star Maika Monroe, but Collider now contends Salazar emerged as the winner.

Retitled “Alita: Battle Angel,” the live-action feature is based on the popular cyberpunk manga by Yukito Kishiro about a female cyborg discovered in a garbage heap by a scientist. With no memory of her previous life, except for her deadly martial-arts skills, she becomes a bounty hunter, tracking down criminals.

The adaptation has been in development for more than 15 years by Cameron, who'll serve as producer. Robert Rodriguez was brought on board to direct last fall.

Salazar's credits also include "The Divergent Series: Insurgent," "American Horror Story: Murder House," "Man Seeking Woman" and "Parenthood."