He faces more than two dozen charges, including attempted murder.