Many thought he had made enough mistakes to lose office. But with a well-funded nationalist campaign and targeted welfare spending, he overturned those expectations