Ad vitam aut culpam is a Latin phrase found in Scots law which meaning "for life or until fault" which guarantees the right of a Sheriff Depute (judge) to hold office permanently or until they forfeit such by misconduct. The Heritable Jurisdictions (Scotland) Act 1746 used the phrase to guarantee a Sheriff's term office after they have held office for seven years.