A self-driving car from GM’s Cruise unit was pulled over by police in San Francisco earlier this week for driving too close to a pedestrian.

CBS Local reports that the autonomous Chevrolet Bolt was pulled over for failing to yield to a pedestrian at a crosswalk. However, Cruise claims that the vehicle kept a safe distance from the pedestrian.

Cruise asserts that the pedestrian was 10.8 feet away from the pedestrian when the vehicle was operating in self-driving mode. The car continued to drive down Harrison at 14th Street before it was pulled over.

In a statement, Cruise said the autonomous prototype followed Californian law.

“Safety is our priority in testing our self-driving vehicles. 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.”

It happened a week after the fatal Uber crash

Witness Kevin O’Connor was on the scene at the time of the citation.

“There was another car stopped alongside and he looked a little befuddled. The cop was just writing a regular ticket like they always do,” he said.

Cruise says the human test driver is responsible for the citation.

We have asked GM for an additional statement and will update this post as soon as we hear back.