A taxi driver veered into a group of fellow cabbies in Boston on Monday afternoon, injuring 10 people, police said.

The out-of-control hack apparently hit the gas instead of the brake, a source told WCVB-TV. Cops said it looked like an accident.

“We discovered that one of the cab drivers in the pool had jumped the curb and struck several other cab drivers who were sitting in a sitting area, a rest area, awaiting their next fares,” Maj. Frank McGinn of Massachusetts State Police, Troop F, told the station.

State Police said in a statement that currently, “There is no information that suggests the crash was intentional.”

Massachusetts State Police said that around 1:40 p.m., the cab drove into a group of people standing outside a building on Porter Street and Tomahawk Drive, at the Logan Airport taxi pool. The vehicle also hit the building, WCVB reported.

The injured were transported to Massachusetts General Hospital, Tufts Medical Center and other local hospitals, police said. Their injuries ranged from serious to minor.

State troopers were interviewing the driver, only identified as a 56-year-old Cambridge man.

Other cabbies described man as nice but very quiet.

“The cab driver is a Haitian guy,” one driver told WCVB. “Very cool guy, very nice guy, never talking to people.”

The patio where the accident occurred is next to the parking lot where dozens of taxis are parked, the station reported. The area is dotted with picnic tables.

The cab pool has been closed during the investigation.