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: As 49er Fans Descend Upon The Southland, Rams Fans Prep For NFC Championship

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: Firefighters Discover Human Remains After Putting Out RV Fire In Wilmington

“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: 'Is He Alive? Is He Alright?' Family Left With Nothing But Questions After Ricky McGhee's Disappearance Weeks Ago

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