Texas Gov. Greg Abbott has appointed Jason Boatright, a lawyer who once served as chief of the opinion division during Abbott’s tenure as Texas attorney general, to fill a vacant seat on Dallas’ Fifth Court of Appeals.

Boatright replaces David Lewis, who voluntarily resigned from office in October rather than face formal removal proceedings from the State Commission on Judicial Conduct after his colleagues concluded Lewis had become too mentally impaired to function as a judge. Lewis was suspended from the bench in late 2015 while he received treatment for alcoholism.