like the soldiers of ivan the terrible , stephen batory , charles xii , napoleon , kaiser wilhelm ii and czar nicholas ii , lenin and pilsudski and stalin , all were content to leave the town pretty much as it had been .