Shiels opts to return from Canada and sign up to Dunfermline cause
Dunfermline Athletic have won the race to sign Northern Ireland international Dean Shiels.
Pars boss Allan Johnston said there were "a few clubs interested" in the player but he has now agreed a one-year deal.
The former Rangers and Hibernian midfielder, whose dad Kenny is Derry manager, returns to Scotland after a half-season spell with Canadian side Edmonton.
Shiels departed Ibrox last summer after helping the club to Ladbrokes Premiership promotion, and the 32-year-old made 125 appearances for the Light Blues during a four-year spell.
The former Kilmarnock and Doncaster man joined Dundalk following his release, before agreeing to link up with Edmonton.
Shiels scored his only international goal in a 1-1 draw against Luxembourg and made a total of 14 appearances for his country between 2005 to 2012.