Judicial Elections and Their Impact on Court Decisions

Judges are elected in some areas—how does this affect the outcome of cases?