An appeals court threw out the conviction of a former Nebraska representative.