Gautama underwent prolonged fasting, breath-holding, and exposure to pain.