Jim Leishman has been appointed Dunfermline Athletic manager on a full-time basis.
Leishman has helped the Pars climb up the table since taking over
Leishman took over at the start of May following the departure of Davie Hay with three games remaining and the Pars three points adrift of safety.
But an upturn in form has seen the club move up the table after beating Dundee 5-0 and Dundee United 1-0.
Leishman told the board he did not want a contract, so he could stand down and continue as director of football.
"The directors asked me if I'd take the job on and I wasn't sure," Leishman told BBC Sport.
"But they stressed they were looking for a bit if stability and I agreed to take over."
Leishman, who has been director of football at East End Park since 2003, will not negotiate new terms.
"I didn't want that," he added. "I've got a contract as director of football and I'm delighted to have that.
"And if it doesn't work out, I'll back off.
"I'm just delighted to be given the job and I'm delighted (coaches) Craig Robertson and Hamish French have been given the opportunity to help take the club forward."
A former Pars player, Leishman had his first stint as manager of the club in 1983.
At that time the Fife club were languishing in Division Two, which at that time was the lowest senior level in Scotland.
Leishman led them to the league title in 1986 and their second promotion in a row the season after.
That return to the top flight was short-lived, the Pars being instantly relegated, but they were up again as champions the following season.
Fans were outraged when he was controversially deposed in 1990 and will be delighted to have their man back in the dugout.
"The fans have been magnificent," continued Leishman. "They've been our twelfth man in the last two games.
"They know I'm a fan like them and they know I'll do everything I can for the club."
Pars chairman John Yorkston revealed that he received almost 30 applications to replace Hay.
He said: "We had a lot of serious interest from a lot of people, including ex-managers of a high standard, but we never took it any further than that.
"We said we would wait until the end of the season but a board can change its mind and Jim has already worked the proverbial miracle.
"His man-management skills are excellent and he is able to generate both excitement and commitment."