Russell Anderson has signed a new two-year contract at Derby County after attracting interest from rival Championship clubs.
The Scotland defender joined the Rams on a short-term deal in January after leaving Sunderland and he has impressed in making 14 appearances for the club.
He scored his first goal for the Rams in last weekend's 1-1 draw with Crystal Palace and the 31-year-old is happy to be staying at Pride Park.
"I'm delighted to get my future secured here at Derby County for two more years," Anderson told the club's official website.
"I've really enjoyed my time with Derby; it is a great club with fantastic support and I can't wait for next season already.
"The gaffer and the club gave me a chance to play first-team football again and I am determined to repay them with my performances on the pitch."
Derby manager Nigel Clough was delighted to tie Anderson down to a long-term contract after confirming other clubs had shown an interest.
Clough said: "This is the perfect start to what is going to be an important summer of recruitment.
"Russell has proved his quality at this level and will have a big part to play in our squad for the new season and beyond. He is the exact type of character we are looking for - a strong personality who is determined and committed.
"We have had to act quickly to beat off competition from other Championship sides, but we were always confident of securing his future."
Meanwhile, Derby will take a look at two trialists when the reserves play Burton on Wednesday evening.
Adam Pepper, a forward set to be released by Liverpool, and Rushden & Diamonds midfielder Jamie McGuinness will feature in the game.