RIVERSIDE (CBSLA.com)  —  Authorities have charged a Riverside man with a felony of communicating with a minor to commit a criminal offense after saying he followed and flashed the girl demanding she get into his car.

Anthony Michael Hidalgo, 30, was arrested Wednesday night after an investigation by the Riverside County Sheriff’s Department.

READ MORE: Public Health Officials Lift Warnings For Certain LA County Beaches

Hidalgo was also charged with the misdemeanor of annoying a minor.

According to Sheriff’s Sgt. Vanessa Sloniker, the Jurupa Valley girl whose identity was withheld was crossing Mission and Rubidoux Boulevards about 4 p.m. Monday while walking home from school when the driver of a Nissan Sentra pulled up behind her and called out.

READ MORE: Fourth Officer Who Responded To January 6 Attack Dies By Apparent Suicide

“From inside his vehicle, the suspect exposed himself to the juvenile,” Sloniker said. “The juvenile immediately used her cellphone to call family members for help.”

According to Sloniker, the motorist returned a few minutes later and “attempted to lure the (girl) into his vehicle.” About that time, the youth’s relatives reached the scene and frightened the man away, Sloniker said.

Based on descriptions of the vehicle and driver, investigators identified Hidalgo, who was taken into custody without incident near his Valley Way residence.

MORE NEWS: 'People On This Block Are Hurting': More Allegations Pinned On LAPD In Aftermath Of South LA Fireworks Explosion

The suspect is being held in lieu of $50,000 bail at the Smith Correctional Facility in Banning.