Arizona Attorney General Kris Mayes is appealing a ruling that lets former lawmaker David Marshall keep his county recorder post.