Donald Trump defeated Kamala Harris to win Pennsylvania and its 19 electoral votes, the Associated Press reports.