Amitriptyline
"I have severe pain due to a deteriorating ankle joint.  I had great difficulty sleeping at night with the pain associated.  I take a 25 mg tablet at bedtime and not only does it help me sleep it stops those painful leg jerks that would make my ankle react in painful spasms.  It is an absolute wonderful drug for stopping the night pain."