He is scheduled to return to court on August 26; he faces up to four years in state prison if found guilty.