Original: When the Holy Roman Empire was dissolved following the defeat of Emperor Francis II by Napoleon at the Battle of Austerlitz, the electorate was raised to the status of an independent kingdom with the support of France, then the dominant power in Central Europe.
Simplified: When Emperor Francis II was defeated by Napoleon at the Battle of Austerlitz and the empire was dissolved  the electorate became an independent kingdom.