An alarm was triggered when the bag of 66-year-old Nahit Y. passed through an X-ray device at the entrance of the Bakırköy Courthouse Annex Building in Istanbul's Bahçelievler district.
A search of the bag revealed a pen-shaped gun, a scalpel, four scalpel blades, and pepper spray.
Nahit Y., who was taken into custody, was arrested and sent to prison by the court to which he was referred on charges of violating Law No. 6136.
His friend, who was with him at the time of the incident, was released after giving a statement.