Matt McGloin is going home.

The former Penn State star is returning to Pennsylvania after signing a one-year contract with the Philadelphia Eagles, the team announced on Monday.

In Philadelphia, McGloin will have a chance to compete for the No. 2 job behind Carson Wentz. The 27-year-old Scranton, Pa. native, will be battling Nick Foles.

After he was undrafted out of Penn State in 2013, McGloin spent four years in Oakland. The former Lions walk-on started seven games for the Raiders and threw for 1,868 yards.

McGloin had a chance to start for the Raiders in the 2016 playoffs after starter Derek Carr went down with a broken leg. But a shoulder injury meant the Raiders turned to third-string QB and former Michigan State star Connor Cook.

The move also means that Cook is now the clear No. 2 in Oakland. Once again, McGloin will back up a young, up-and-coming quarterback.

Still, there should be a few more seats sold for the Eagles’ preseason home games.