The ruling conservatives have defied opinion polls predicting a win for the reformist People's Party.