SAN LEANDRO -- Two men wanted on car theft charges were arrested Wednesday after police found them looking inside vehicles near the John Muir Middle School in San Leandro.

Two officers were passing the 1400 block of Williams Street when they spotted two men who were looking into parked cars and "acting suspiciously." When police approached the men, one of them ran for about five blocks, then turned around and pointed an awl, a woodworking tool with a steel shank on the edge, at the officer.

The officer drew his weapon and the suspect, later identified as 31-year-old San Leandro resident Carlos Onate, tossed the weapon over a fence and surrendered. The other suspect, identified as 37-year-old San Leandro resident Sunil Kamelshan, cooperated with police.

Both men were wanted for auto theft, police said. Onate, who is on probation, was arrested on suspicion of brandishing a dangerous weapon at the officer and resisting arrest. He will be arraigned in the Alameda County Superior Court in Hayward on Friday afternoon. Kamelshan was booked on his outstanding warrants.