Hearts have confirmed the appointment of Gary Locke as the club's manager until the end of next season.
Locke, who had been operating as caretaker manager since the departure of John McGlynn last month, was confirmed in the role just 24 hours before the Scottish League Cup final against St Mirren.
He had taken four points from three games as caretaker, ending a run of four straight defeats, having previously worked as the club's first-team coach.
The club said in a statement: "After considering all shortlisted candidates the board of the club has decided to hand the management role to Gary on a deal until the end of next season, while Edgaras Jankauskas and Darren Murray will continue to assist."
Hearts director Sergejus Fedotovas added: "We considered several people for the job and were close to making an appointment of what we believed to be the best of outside candidates, but it was Gary Locke who scored more points among the board members and now I believe that it is right that Gary, Edgaras and Darren continue to be given an opportunity to build on the work they have begun.
"Gary clearly has the same desire as a coach that he showed as a player for the club and with the support of Edgaras, Darren and the players he has an opportunity to deliver success to the club.
"Our decision provides certainty to everyone through to the end of next season and reinforces the focus we all have in trying to achieve a special chapter in the history of this club on Sunday."
Information from the Press Association was used in this report