Around 1999 I bought a Bosch alternator for our '85 Mazda 626. It came with a 5-year warranty.
It died after about 3-1/2 years, and Canadian Tire replaced it (that is, gave me a new one for me to install) at no cost.
Not long after, I noticed that they had dropped the warranty to 3 years...