Michigan State Police said troopers shot and killed a man who opened fire on them Tuesday night in Detroit.

One trooper advised dispatchers they were being hit by a green laser that a suspect was shining from the second story of a home, police said in a series of tweets.

Moments later, the first trooper advised that they were being shot at from the home.

MICHIGAN GOV. WHITMER KIDNAPPING PLOT: CO-LEADER GETS 16 YEARS IN PRISON

Troopers approaching the home on foot encountered the suspect leaving the home and opening fire, and troopers returned fire, police said.

Michigan news

Michigan troopers fatally shot a man who fired shots at them.

The man died at the scene, police said.

CLICK HERE TO GET THE FOX NEWS APP 

Members of the state police homicide task force have responded and are investigating, police said.