Tuesday's municipal election ended in a Democratic sweep of all four open spots on Pennsylvania's appellate bench, including a victory from Superior Court Judge Daniel McCaffery in an unusually heated race for the state's highest court.