 Complete the following phrase:  First administrative reforms were enacted by councillors of the Siemens family. Nevertheless, the status of Imperial immediacy was finally lost, when Goslar was annexed by Prussian forces during the Napoleonic Wars in 1802, confirmed by the German Mediatisation the next year. Under Prussian rule, further reforms were pushed ahead by councillor Christian Wilhelm von Dohm. Temporarily part of the Kingdom of Westphalia upon the Prussian defeat at the 1806 