Title: A theory of political transitions