In his absence the administration was entrusted to a justiciar, a regent or lieutenant of the kingdom; and the convenience being once ascertained of having a minister who could in the whole kingdom represent the king, as the sheriff did in the shire, the justiciar became a permanent functionary."