A man riding around New York City on a moped on Saturday morning began randomly shooting at people, businesses and cars, killing an 87-year-old man and wounding three others.

A 25-year-old man was in custody in connection with the shootings, which took place in Brooklyn and Queens and spanned several city blocks over 30-minutes, New York Police Department officials said at a press conference.

A motive was not yet known, but officials said the suspect didn’t appear to target anyone specifically.

“It seems that his acts were random,” said Joseph Kenny, assistant chief of the Detective Bureau. “Video shows that he’s not targeting anybody, he’s not following anybody. As he’s driving on his scooter, he’s randomly shooting people.”