The Democrat-led court ruled 5-2 to uphold law known as Act 77 — with the court's two Republicans voting against — all but ensuring wide-spread mail-in voting will be available in Pennsylvania for the mid-term elections that will decide control of Congress. Pennsylvania features a contest for the open Senate seat.