Akademistaten , Magistraten ,Borgerstapet