Miracle Max was a miracle worker, or a medicine man, who worked for Prince Humperdink's Father, the King. However, as the King grew older, and his son started taking over, Miracle Max was fired. This inspired a lifelong grudge against Humperdink that prompted Max to help Inigo Montoya and Fezzik revive the Man in Black, or Westley, for very little monetary gain. He didn't revive Westley for a truely noble cause, though. It was Max's understanding that Westley would humiliate Humperdink by stealing away Buttercup, which he did.