The agreement includes the option to continuing renewing the contract year-by-year if Van Nistelrooy completes 35 first team games each season.
"President, in front of my family I say to you that today I have been convinced by the greatness of this club, of which already Pedja (Mijatovic) told me when he convinced me in Manchester to come here," Van Nistelrooy said at yesterday's signing ceremony.
"To be able to finish my career with this recognition is very positive."