The girl fought off the attacker as he tried to rape her.