Located in the buttocks, your piriformis is the muscle responsible for rotating the leg and stabilizing lower body movement, enabling you to walk and shift weight. Your sciatic nerve is a thick and long nerve located near the piriformis muscle that goes down the back