Authorities say an off-duty New York City police officer fatally shot a man after being attacked during a road rage incident.

It happened early Monday morning in Brooklyn.

Police said the officer was driving his personal vehicle in the East New York neighborhood when he was involved in a traffic dispute with a 37-year-old man in another car.

They say when both cars stopped at a red light the man exited his car and punched the officer repeatedly through an open window.

Police say the officer pulled out his service weapon and shot the man. He was pronounced dead at the scene.

The officer was treated at a local hospital for minor injuries.

Police haven't identified the officer or the other motorist. They say the incident remains under investigation.