For 49 days he resisted demons and temptresses, and became truly Enlightened Buddha as he is called today.
Buddha became the Enlightened Buddha after resisting demons and temptresses for 49 days.
He did not resist any demons and failed to become enlightened.