A Theory of Political Entrenchment