New York police say a 14-year-old boy opened fire on a city bus Thursday evening in Brooklyn, fatally shooting a passenger in the head.

The shooting happened at about 6:20 p.m. on a bus in the Bedford-Stuyvesant neighborhood. The boy was taken into custody and a firearm was recovered. No charges were immediately filed.

Police say 39-year-old Angel Rojas of Brooklyn was taken to Woodhull Hospital, where he was pronounced dead. They say he was not the intended target.

Rojas, who worked at a fruit stand, was stopping home in between jobs to say hello to his wife and two children, The New York Post reported.

According to The New York Times, the shooting erupted during an argument among a group of teenagers. The newspaper reports that more than one shot was fired.

Relatives say Rojas came to the United States four years ago from the Dominican Republic with his wife and two children.

The Associated Press contributed to this report