Scott Parker has signed a new five-year contract with West Ham United, ESPNsoccernet can reveal.
West Ham have confirmed that Parker, 30, has finally committed himself to the east London club for effectively the rest of his career.
It is a rare piece of good news in a season that is in turmoil with the club at the foot of the Premier League without a single point under new manager Avram Grant.
Spurs were trying to buy Parker before the transfer deadline last month and they had a bid rejected by the Hammers.
West Ham insisted that Parker agreed the new deal before the window closed, and now it has been tied up officially, Parker is contracted to the club until 2014.
"I am just absolutely delighted to have signed the contract," Parker told the club's official website. "Everyone knows I enjoy playing my football here. I really wanted to stay here, give it a shot and see what can happen.
"With the transfer window there is all this big hype. There are obviously times when it is stressful but from the outset I always knew this was where I was going to be. The owners came out and spoke last season and I am more than happy."
There is an option for the fifth year in the club's favour, and Parker is now the highest paid player in the club's history.