A man was taken into custody Wednesday after using a baseball bat to vandalize cars in North Hollywood, Los Angeles police said.

Police received several 911 calls at about 9 a.m. Wednesday about a man hitting cars with a bat. The man also unsuccessfully tried to carjack someone, police told NBC4 Investigates.

Police found the man nearby, still in possession of the bat, the LAPD said. After a short chase, police used a stun gun and took the man into custody.

He was transported to a hospital to be evaluated for injuries. Police said he will be booked on suspicion of felony attempted carjacking.

On Tuesday, another man caused thousands of dollars in damage to dozens of cars after smashing their windows in North Hollywood, according to the Los Angeles Police Department. He was arrested for felony vandalism after damaging 29 cars.