Epistemic Basis for Political Legitimacy