sentences:  The instrument whereby this happened was the Selz-Hagenbach Treaty, also known as the Schwetzingen Compromise, under whose terms Zweibrücken exchanged a series of villages for another series of hitherto Electoral Palatinate villages, the former series comprising mainly the Zweibrücken villages in the "Schultheißerei" of Einöllen with Hohenöllen, the then town of Odernheim, Frankweiler, Niederhausen, Hochstätten and Melsheim (now in France), and the latter series comprising the Electoral Palatinate "Ämter" of Selz and Hagenbach (whose like-named seats today lie in France and Germany respectively).The seat of the "Unteramt" was now Wolfstein, which belonged to the Electoral Palatinate "Oberamt" of Kaiserslautern.Nevertheless, this arrangement lasted only a bit less than three decades before the whole feudal system was swept away.