Also, in kanjogata (accounting officer) of Edo bakufu, the department concerning civil administration was called 'kujikata (a post in charge of civil suit)' against 'ginmikata' concerning financial affairs, and a legal code called Kujigata-osadamegaki was established to prescribe suits regardless of civil trial or criminal court, thus, 'kuji' continued to be used for long time to refer to the whole trial or legal proceedings.
また、江戸幕府勘定方において財政に関する「吟味方」に対して民政に関する部門を「公事方」と称し、公事方御定書と呼ばれる法典が編纂され、民事・刑事を問わない訴訟に関する規定が設けられるなど、裁判全体または訴訟手続を指す意味での「公事」の語も長く用いられ続けた。