The relationship was an important one because after she grew up Josephine Stengel married , the town's mayor, who later became a member of the of the after the region was handed over to Bavaria in 1816.