Timothy M. Grogan, 30, of Woodstock, was arrested following a collision between a Metra train and a car he was driving on Lamb road north of Route 120 in Woodstock. | Background Photo: Google Street View.

Police say a 30-year-old man was arrested after a Metra train hit a car that he intentionally parked on railroad tracks in Woodstock Saturday evening.

Timothy M. Grogan, 30, of the 1200 block of Thomas Drive in Woodstock, was charged with two counts of resisting a peace officer, criminal damage to property and reckless conduct.

The incident happened around 9 p.m. Saturday on Lamb Road north of Route 120 in Woodstock.

Court documents show that Grogan was driving a woman’s 2015 Hyundai sedan and she was sitting in the passenger seat.

Metra Director of Communications Michael Gillis said the woman told police Grogan began acting strangely and told her to get out of the car.

Grogan drove onto the Metra railroad crossing and parked the Hyundai on the tracks before he fled the car on foot, court documents show.

[Suggested Article]  50 days in jail for drunk driver who fled from rollover crash that left victim injured, trapped near McHenry

A Metra train crashed into the Hyundai a short time later. The female passenger was able to get out of the car before the train struck it, Gillis said.

Grogan’s actions put the woman and the train crew in danger, court documents said.

No injuries were reported and the train was only occupied by the conductor and an engineer, Gillis said.

Police officers located Grogan around 1 a.m. Sunday and the man ran from officers before surrendering shortly after.

Grogan refused to provide identification. He was transported to the McHenry County Jail where he remains held on a $22,500 bond.

A McHenry County judge ordered the man to undergo a fitness and psychological evaluation before he is released from jail.