ST. GEORGE, Utah – Officers gave a man on a bicycle a ticket after he was hit by a car in St. George.

According to the St. George News, the bicyclist escaped serious injury after he crossed in front of a car that was coming out of a parking lot near 700 E. and 700 S. Wednesday afternoon.

Police said the car stopped and then pulled forward, partially blocking the sidewalk when the cyclist swerved out in front of the car.

The car and the bicycle had minor damage but no one was injured.

“Bicyclists should go with the traffic in the street,” St. George Police Sgt. Craig Harding told the St. George News. “Unless they’re little kids and then they can ride on the sidewalk but there is a city ordinance against riding on the sidewalk.”

The man on the bike was ticketed for failing to yield.

“There is a state law that says that bicyclists should be on the extreme right side of the roadway in the direction of traffic, not against traffic because then you avoid crashes like this, with people pulling out looking to their left to see if there is a car coming so they can pull out and turn right,” Harding said.

MORE: Read more from the St. George News here