A California woman was beaten to death with an electric scooter during an apparent random attack in broad daylight, police said.

Rosa Elena Hernandez, 63, of Long Beach was assaulted by a hoodie-wearing man while she was in the area around 12:30 p.m. Monday, the Long Beach Police Department said.

Detectives believe the suspect, whose identity was not immediately released, physically attacked the victim and then used a rental Bird brand e-scooter “as a weapon during the assault” before fleeing, according to cops and the Los Angeles Times.

It’s believed that the victim and the suspect did not know each other, the news outlet reported.

When police arrived at the scene of the gruesome attack, they found a bludgeoned Hernandez with injuries to her upper torso. She died at the scene.

Within four hours of the violent incident, detectives tracked down a person of interest at a local business and took him into custody, police said.

The man, who wore a black hooded sweatshirt, black pants and red shoes, was later booked for murder and was being held in lieu of $2 million bail, according to cops.

Police will not release the suspect’s name until records can confirm his identity, authorities said.

Neighbors said Hernandez was a married and friendly woman.

“It’s sad because I feel for her husband,” neighbor Veronica Morales told NBC Los Angeles, adding that “they’ve been together and lived next door for a very long time. He’s not going to have his wife anymore.”

Bird said in a statement, according to the Los Angeles Times: “Our hearts and thoughts go out to the victim and her family. We will work with local law enforcement to help with the investigation into this tragedy.”

A motive for the attack was not immediately clear.

A GoFundMe campaign, titled “En Memoria de Rosa Manjarrez Hernandez,” was started to cover “unplanned funeral expenses” for the victim’s family.