After the Sengoku period (of Japan), warring lord's doing trial as kogi was called 'kuji', and this word appeared in bunkokuho (the law individual sengoku-daimyo enforced in their own domain) ("Chosokabe Motochika Hyakkajo 〔bunkokuho by Chosokabe clan〕", "Koshu Hatto no Shidai 〔the Law in Koshu〕").
戦国時代(日本)以後、戦国大名が公儀として裁判を行うことを「公事」と称し、分国法にもこの語が登場する（『長宗我部元親百箇条』・『甲州法度之次第』）。