What could cause one leg to stop working?

Stroke. Stroke painless loss of one leg function I would have to go with a neurological disorder ms, stroke.