The detainee has been identified as Bhagaban Sahoo, a resident of old Berhampur.
According to available information, Sahoo waved off the knife while the judge was hearing a case this afternoon. Several lawyers who were present in the court room were shocked to see the weapon inside the court room. However, some of the lawyers managed to capture Sahoo and alerted the police. The cops, who were present in the court room nabbed the man.
Sahoo then was later taken to the police station for further questioning.
Sources said the cops have seized the weapon from him and interrogated to ascertain the motive behind his act.