Num 35:12

12The cities shall be for you a refuge from the avenger, so that the slayer may not die until there is a trial before the congregation.