Hibernian have announced goalkeeper Grzegorz Szamotulski has agreed to join the club until the end of the season.
The former Dundee United star, 32, will complete his free transfer once Hibs secure international clearance.
Szamotulski is one of a number of keepers manager Mixu Paatelainen has taken on trial this season and it appeared the Finn's search would go on when he claimed last month he had been unable to agree a contract with the Pole.
But it appears any issues there were have been resolved, with Szamotulski now expected to challenge Yves Ma-Kalambay for the number one jersey at Easter Road.
Szamotulski told his new club's official website: "I'm pleased to have reached agreement with Hibernian and am now looking forward to playing again in the SPL.
"I enjoyed my last spell in this league and I'm delighted to be joining one of the leading sides in Scotland."
Paatelainen said: "I am delighted to have secured the services of Grzegorz Szamotulski.
"I have been looking for some time now for an experienced goalkeeper and Grzegorz fits that description perfectly.
"He has experience of the SPL with Dundee United and was very impressive when he trained with us at the Hibernian Training Centre recently."
Szamotulski began his career in his native Poland at Lechia Gdansk before going on to make over 100 appearances for Legia Warsaw.
Following spells at several Polish sides, he arrived in Scotland on a short-term contract at Dundee United in July 2007.
After a successful spell at Tannadice, Szamotulski opted to move south to Preston in February 2008.
After short spells at Deepdale and FC Ashdod in Israel, he became a free agent last month.