Republican gains Pennsylvania