If any person lawfully imprisoned in jail and not tried or sentenced on a criminal offense escapes from jail by force or violence, other than by setting fire thereto or if any person lawfully in the custody of any police officer on a charge of criminal offense escapes from such custody by force or violence, he shall be guilty of a Class 6 felony.
Va. Code § 18.2-478