A self-driving car just got ticketed in San Francisco.

The Chevy Bolt electric vehicle was in self-driving mode when it was pulled over by a San Francisco Police officer for failing to yield to a pedestrian at a crosswalk in what could very well be the first traffic violating of this kind by a self-driving vehicle.

The autonomous Bolt was being operated by Cruise Automation, a technology start-up developing self-driving cars in conjunction with General Motors.

Speaking to KPIX-5 local news, Kevin O’Connor witnessed the entire transaction and quickly took a photograph with his cell phone. “There was another car stopped alongside and he looked a little befuddled,” said O’Connor. “The cop was just writing a regular ticket like they always do.”

Cruise, however, disputes the infraction, saying that the pedestrian was far enough away from the car that it should not have been required to stop. Onboard data logs of the Bolt’s sensors show that the pedestrian was 10.8 feet away from the Bolt at their nearest point and presented no danger of a collision.

RELATED: FORD IS DELIVERING PIZZAS WITH SELF DRIVING CARS

Bolt Ticket
via CBS San Francisco

The Bolt EV was pulled over by a motorcycle-mounted policeman shortly after exiting the crosswalk.

In a statement, Cruise defended their car’s actions and reiterated their commitment to safety. “Safety is our priority in testing our self-driving vehicles,” the company said. “California law requires the vehicle to yield the right of way to pedestrians, allowing them to proceed undisturbed and unhurried without fear of interference of their safe passage through an intersection. Our data indicates that’s what happened here.”

Although he wasn’t in control at the time of the infraction, the human driver of the Bolt will be responsible for the citation. It is unknown whether he will attempt to overturn the citation in court.

San Francisco Police declined to comment.

The news comes mere weeks after the first fatality involving a pedestrian and self-driving car took place in Tempe Arizona. A woman was crossing the road outside of a normal crosswalk and was struck by an autonomous car operated by Uber. The victim’s family reached a settlement with the ride-hailing company as of last week.

NEXT: VICTIM'S FAMILY REACHES SETTLEMENT WITH UBER IN SELF-DRIVING CAR ACCIDENT