Tsar/czar and kaiser are derived from caesar. I’m going to assume that ‘king’ probably does in some tortuous way.