Art. 872. Basis for valid sentence
A valid sentence must rest upon a valid and sufficient:
(1) Statute;
(2) Indictment; and
(3) Verdict, judgment, or plea of guilty.