the supreme power of a state to act within its territory and have absolute authority over its internal and external affairs