Celtic goalkeeper Craig Gordon, linked with Chelsea during the January transfer window, has signed a new three-year contract.
The Scottish Premiership leaders opened talks with Gordon after rejecting offers from Chelsea.
And the 34-year-old keeper told the club's official website: "It's taken a little while after the interest in the January window, but it's good to finally get it done and concentrate on the rest of the season."
Gordon's previous contract expired in the summer, but Celtic had an option to extend it for a year.
The new agreement means he is committed to the Scottish champions until 2020.
The Scotland international said: "It was quite stop-start -- it wasn't like we were talking about it for months.
�� Hoops No.1 Craig Gordon has committed himself to the club by signing a new three-year deal keeping him at Celtic Park until 2020. pic.twitter.com/KIktVsklSN
- Celtic Football Club (@celticfc) March 8, 2017
"There were two or three occasions when we sat down and talked about it but it was fairly straightforward in the end. I wanted to stay."
Gordon's Celtic career looked in doubt in August when manager Brendan Rodgers signed his former Swansea goalkeeper, Dorus de Vries, from Nottingham Forest.
De Vries went into the team for five matches but Gordon won his place back and has kept it ever since.
The former Hearts and Sunderland player said: "I think it's the same for every player when a new manager comes in -- you want to prove your worth to the team.
"Thankfully I've been able to do that and hopefully I'll be able to continue to do that over the next three years.
"I'm hoping to play on as long as I possibly can. It's good for the next three years to know that stability is there and I'm going to be here fighting for trophies."