How is the establishment of ʿAlī’s caliphate principally described?

Precedence after the Prophets and the Rightly Guided Caliphate