Authorities say a court security officer fatally shot a man brandishing a knife at a complex that houses a police department and courts in suburban Detroit.

The shooting was reported Thursday morning at the Dearborn Heights Police Department and courts complex.

Dearborn Heights Mayor Dan Paletko tells TV stations WXYZ and WJBK that the man with the knife lunged at a security officer at a security check station and was fatally shot.

Police at the scene gave WWJ-AM a similar account.

The Associated Press left a message with the mayor's office and sent a message seeking information from a state police spokesman.