Kenny Dalglish has signed a three-year contract to become Liverpool's permanent manager.
The Scot has been in temporary charge since replacing Roy Hodgson in January but, such has been the turnaround in results, his appointment as full-time boss was never in doubt.
Negotiations have been ongoing for several weeks but the final details have now been agreed.
Coach Steve Clarke, who also arrived in January, has also signed a three-year contract.
Dalglish said: "I said when I took the job on in January that I was just happy to help the club out for the remainder of the season.
"Now the owners have decided in their wisdom that they want me to stay a little longer and it's fantastic news for both myself and Steve Clarke that we have signed these contracts.
"Both (principal owner) John (W Henry) and (chairman) Tom (Werner) have taken their time to assess what was best for the football club and bring in the people they wanted to take the club forward.
"They are both winners, but understand what the supporters want from a Liverpool side and the way that we should go about things. This is a unique football club and I'm delighted to have the opportunity to help build something special here again."
Club owner Henry admitted there was no one else in the frame for the job, and said no one else could have achieved the turnaround in atmosphere at the club after the poor start to the season under Roy Hodgson, saying: "Kenny is a legendary Liverpool figure both as a supremely gifted footballer and successful manager.
"Since returning in January he has shown extraordinary leadership and the ability to bring the best out of so many people associated with the club."