Pet Duffy's Back and back legs go crazy.

Duffy is 12 1/2 years old and when I pet his back....half way down along his spine, his back legs start swaying and scratching himself uncontrollably. I don't do much of it as I am sure its a nerve that has become more acute with his age and probably annoying to him.

I am of course aware of his longevity and worried about the function of his back legs, in general. He still goes up and down stairs but most times he barks as he wants help. LOL

Any thoughts and tips above?