POMPANO BEACH, Fla. -

The Broward Sheriff's Office Tuesday charged a 15-year-old boy with aggravated battery with a firearm in Monday's shooting of a 15-year-old girl outside a Pompano Beach apartment complex.

Detectives believe the victim, Jolessica Williams, and her niece were walking near N.W. 11th Circle and 18th Drive with two 15-year-old boys they knew, when one of the boys shot Williams in the chest.

Detectives later learned that the teen who fired allegedly threatened to shoot seconds before the gun went off.

Clinching her chest, the 8th grader walked two blocks to a a relative's apartment but collapsed in the parking lot, according to witnesses.

Williams was treated by Pompano Beach Fire Rescue, then taken to Broward Health Medical Center where she is in stable condition.