 The diocese of Prague was assigned to the archbishopric of Mainz, when Thietmar was elected as the first bishop in 973 at the time of government by Boleslaus II of Bohemia.The creation of the diocese gave Bohemia religious independence from the Empire.Thietmar was known to be a wise and pious man, who ordered the building of many churches and the first cathedral.