State tax filing

we did live in Nebraska in 2023, but moved to Pennsylvania and spent the entire 2024 in Pennsylvania. I did receive my retirement lump sum in 2024 and received my 1099 – R for that a couple days ago, they did take out both federal and state tax for Nebraska, though. so should I still file it under Pennsylvania, then?