What is the lifespan of LED grow lights?

I am interested in purchasing LED grow lights for my cannabis plants, but I want to know how long they last. Can you tell me what the lifespan of LED grow lights is and if there are any factors that can affect the lifespan?