When dealing with civil cases, he/she is known as the district judge, and when hearing criminal cases, he/she is called the sessions judge.