Wigan midfielder Jordi Gomez has signed a new two-year contract at the DW Stadium.
The 26-year-old playmaker's previous deal had been due to expire in the summer but he has now committed to the Barclays Premier League club until 2014 despite the danger of relegation.
The former Barcelona youth team player, who joined Latics from Espanyol in 2009, has scored four goals this season.
Wigan boss Roberto Martinez is pleased to have beaten off interest from other clubs for his fellow Spaniard's services.
Martinez said: "We are delighted that Jordi is committing himself to our football club.
"He is our top goalscorer this season and his vision has provided us with a real playmaking role in the side.
"He has accumulated a fantastic experience in the Barclays Premier League and with potential offers waiting for him in the summer, it is a fantastic gesture towards the football club that he has chosen to commit to Wigan Athletic at this crucial moment of the season."
Gomez, who has scored six times in 42 league starts for Wigan and first worked with Martinez during a loan spell at Swansea, feels settled at the club.
He said: "I would like to thank everyone at the club for making me feel welcome.
"I feel I can keep improving here and now I want to keep focusing on my game and do all I can to finish the season strongly and keep our Premier League status."
Wigan are in the bottom three but just a point off the safety of 17th place with eight games of their campaign remaining.