What is the relation between the political and theological sides of each?

The Sunnis and the mainstream Shi’a have a major political difference (who should lead the Muslim community) and also have theological difference (free will or predetermination, etc.). What is the relation between the political and theological sides of each?