A hostage situation at Hamburg Airport involving a young child has ended after 18 hours, according to local police.
The man, 35, drove through a security barrier and on to the airport tarmac on Saturday night with his four-year-old daughter in the car and parked under a plane.
He eventually gave himself up to the authorities "without resistance", according to police, and was arrested.
It began at about 20:00 local time (19:00 GMT) when the suspect drove his car to the airport's apron, the area where aircraft are usually parked.
Police said the man shot his weapon twice in the air and threw burning bottles from the vehicle. It was unclear if the man had explosives.
Hamburg police spokeswoman Sandra Levgruen said earlier on Sunday that the man did not agree with some decisions made by the authorities in relation to the custody arrangement and wanted to travel to Turkey with the child.