"I want to remain here," said the Spanish striker. "Since arriving at Liverpool I feel that there's a bond and commitment.
"We listened to the club's offer, which came on the back of two seasons of positive work.
"My objective now is to win a trophy with Liverpool next year."
The new deal will see his salary rise to £100,000 per week and includes the option of an extra year beyond 2013.