A campus police officer at Wayne State University in Detroit died Wednesday after he was shot in the head Tuesday night, authorities said.

Wayne State University police K9 Officer Collin Rose. M.J. Murawka / Wayne State University

A suspect was in custody, said police, who said they didn't believe the cop was specifically targeted.

Collin Rose, 29, had stopped a bicyclist while investigating car break-ins in a neighborhood near campus when he was shot at about 6:30 p.m. ET Tuesday, police said. Wayne State police are commissioned as Detroit police officers and can take part in off-campus investigations.

The suspect, DeAngelo Davis, 31, was arrested late Tuesday after a large-scale manhunt, Wayne State Police Chief Anthony Holt said. Davis, who was previously known to police, was picked up about a half-mile from the scene of the shooting, Holt said.

DeAngelo Davis, in red sweatshirt under jacket, is arrested Tuesday night in Detroit in connection with the shooting of Wayne State University police Officer Collin Rose. WDIV-TV

Holt said that it hadn't yet been determined why Rose, a K9 officer who had been with the university police for 5½ years, was shot but that it didn't appear that he was singled out for attack.

Lawmakers in several states have introduced legislation that would categorize targeting of police and other emergency responders as hate crimes after a San Antonio, Texas, police detective was shot and killed Sunday morning in what authorities said was an attack targeted at law enforcement.

Related: 'Targeted': Four Police Shootings in Three States in 24 Hours Rattle Authorities

Illuminated by blue police lights, law enforcement officers embrace after the shooting Tuesday night of Wayne State University police Officer Collin Rose in Detroit. WDIV-TV via NBC News Channel

Rose, who was engaged to be married next October, is the first Wayne State officer to die in the line of duty, the university said.

"This is a tragedy felt by all of us — Collin and his family and friends, his fiancée, and our campus and community," university President M. Roy Wilson said in a message to students Wednesday night. "Collin served Wayne State with distinction, and we owe those he left behind our deepest sympathies and our strong support."