When a defendant charged with a capital offense appears for arraignment without counsel, the court shall provide counsel for his defense in accordance with the provisions of R.S. 15:141 et seq. Such counsel must be assigned before the defendant pleads to the indictment, but may be assigned earlier. Counsel assigned in a capital case must have been admitted to the bar for at least five years. An attorney with less experience may be assigned as assistant counsel.
La. Cr.P. § 512