What system ended the prince-bishops?