german city was built on the ruins of older churches founded in 937 from military commander