I'm sorry for your loss, animals are so much better than most people. They aren't judgemental, and accept you as you are.
I also applaud you for doing the difficult thing and giving him relief, many folks don't have the strength to do the right thing.
Annie is 15+ and had a stroke lately. She has improved, but that time is near.