The word "authority" evolved from the Latin word "auctoritas," which means "originator" or "creator." The word "author" also comes from the Latin word "auctor."
So, in essence, "authority" originally referred to the power or influence held by the originator or creator of something, whether it be a written work, a decision, or a law.