A United Airlines flight from Chicago to Minneapolis was diverted to Madison, Wisconsin, after a passenger allegedly attempted to breach the cockpit multiple times, officials say.

Law enforcement officers who were traveling on the plane restrained the passenger and remained with him until the aircraft landed in Madison.

Local authorities detained the passenger after the plane landed safely, and officials have not disclosed his identity or whether charges have been filed.

AI-generated summary was reviewed by a CNN editor.

A United Airlines flight from Chicago to Minneapolis diverted to Madison, Wisconsin, on Friday night after an “unruly passenger” caused a security concern on board, the airline said.