Story highlights Students planning walkout Friday to protest shooting

Witness says he warned teen, "Put that thing away"

Teen's mother too grief-stricken to speak at rally

Police say the teen was carrying two fake weapons; deputies thought they were real

A sheriff's deputy mistakenly thought he saw a teen carrying an assault rifle on a California street this week and shot him dead, authorities said.

It turned out the 13-year-old boy was carrying two fake guns, a replica AK-47 and a fake pistol, the Santa Rosa County Sheriff's office said. The Tuesday shooting is being investigated, the sheriff's office said.

A preliminary autopsy report released Thursday said the officer fired eight rounds at the scene, and the teen died of bullets to the chest and right hip.

"There were seven apparent entry wounds discovered in the body," the report said. "There were nonfatal wounds on his right wrist, left bicep, right forearm, right buttocks and right hip."

Four rounds were recovered at the scene, and three rounds were recovered in the body, the report said.

School officials in the northern California city of Santa Rosa identified the teen as Andy Lopez Cruz. Students at his high school were reportedly planning a walkout at 1 p.m. Friday to protest his shooting.

"The Santa Rosa City School District family is deeply saddened by the loss of Andy Lopez Cruz," a school system statement said. "This is a tragic event for family, schools and the community. His administrators and teachers will remember him as kind, intelligent and capable."

Two Sonoma County deputies spotted the boy holding what appeared to be an assault rifle Tuesday afternoon, the Santa Rosa County Sheriff's office said. They pulled over "but maintained cover behind their open passenger door," the press release said.

They yelled at the teen to put the weapon down. He had his back to them and began turning around toward the officers, the statement said.

"One of the deputies described that as the subject was turning toward him the barrel of the assault rifle was rising up and turning in his direction. The deputy feared for his safety, the safety of his partner, and the safety of the community members in the area," the statement said.

A deputy shot the teen. The teen was handcuffed, and the officers called for an ambulance, the statement said. Deputies found the fake rifle on the ground near the boy. The bogus handgun was tucked in his waistband.

Ismael Mondragon said he was in front of the sheriff's cruiser at a stop sign when he saw Cruz with the replica. Mondragon told CNN he warned the teen, "Put that thing away. The police are here," but got no response.

Mondragon said he went through the stop sign and saw the sheriff's car pull over behind him. Within seconds, he said, he heard shots fired and saw the teen fall.

Cruz's classmates were saddened by the news, Lawrence Cook Middle School Assistant Principal Linsey Gannon told CNN affiliate KRON

"He was a very popular student," Gannon told the affiliate. "He was a handsome young man with many friends and a lovely family. He will be missed."

Late Wednesday, a crowd gathered in the dirt field where the boy was shot, to hold a memorial that turned into a rally against police shootings, CNN affiliate KGO reported. In the crowd was Cruz's mother who said she was too grief-stricken to talk, KGO reported.

Family friend Gabriel Roque said she was outraged.

"He was a 13-year-old boy who was no harm to anybody. This was not a grown man walking down the street with a gun," she told the affiliate. "He was a 13-year-old little boy. You could just tell him to put it down."