Electorate of Bavaria
The Treaty of Lunéville of February 9, 1801, decreed the secularization of the German prince-bishoprics. Bamberg was mediatised to the Electorate of Bavaria in 1802. The bishop fought bitterly to maintain his control of the Prince-Bishopric of Würzburg, but on February 25, 1803, the prince-bishopric was mediatised to the Electorate of Bavaria. He remained bishop, but no longer exercised temporal power in Würzburg. On September 15, 1805, the Bishop of Bamberg, Christoph Franz von Buseck, died, and Fechenbach succeeded as Bishop of Bamberg.