Chancellor Gordon Brown used his skills of political persuasion to help convince Marvin Andrews to re-sign for Raith Rovers.
The chancellor - a Raith fan - and Raith manager Craig Levein held talks with the deeply-religious defender.
Andrews, 30, said: "I'm delighted to be back at Starks Park but I'm not here because of what Gordon Brown said - I'm here because of what God said."
The player left Raith for Livingston in 2000 and spent two years at Rangers.
The chancellor attended a meeting with Paster Joe Nwokoye, Andrews and Levein over the weekend before the player agreed to sign for the club.
As part of the deal, the Marvin Andrews Youth Development Trust is being set up in Kirkcaldy.
The chancellor is not financially involved in the deal but encouraged local businesses to get involved in the trust and financing Marvin's wages, which will be co-funded by the club.
The Trinidad & Tobago defender was released a year early from his Rangers contract in August.
Rovers manager Craig Levein said: "He will give everyone a huge confidence boost especially the young guys."
Andrews, who missed all three of his country's matches at the World Cup after problems with a knee injury, had reportedly rejected an approach from Premiership club Reading.
A deeply religious man, Andrews will remain close his chosen place of worship, the Zion Praise Centre, which is near Kirkcaldy.
"Marvin has over 100 caps for his country and has amassed a great deal of experience which makes him a significant presence on the park," added Levein.
"As he has shown many times before, Marvin is a great personality and a proven winner.
"And the fact he has turned down offers from England and Scotland sends a great message to the fans. This is a club on the up."