 As part of this state, it passed by sale under the terms of a treaty – the price received by the little loved ruler, Duke Ernst, was 2,100,000 Thaler – on 31 May 1834 (with effect from 22 September 1834) to the Kingdom of Prussia, which made this area into the Sankt Wendel district within the Rhine Province.This district was grouped into the "Regierungsbezirk" of Trier.Later, after the First World War, the Treaty of Versailles stipulated, among other things, that 26 of the Sankt Wendel district's 94 municipalities had to be ceded to the British- and French-occupied Saar in 1919.