With 19 electoral votes, Pennsylvania was seen as the most pivotal state in deciding the 2024 presidential election.