It took around 4 decades (from the time it was commisioned in 1880 all through the rest of his life). I believe it was about 37 years to be exact. Part of the reason was that he worked on it on and off. The other reason was that he was never happy with any of the pieces, hence why many were made hundreds of times (and why many look unfinished).