In United States law, the federal government as well as state and tribal governments generally enjoy sovereign immunity, also known as governmental immunity, from lawsuits. Local governments in most jurisdictions enjoy immunity from some forms of suit, particularly in tort. The Foreign Sovereign Immunities Act provides foreign governments, including state-owned companies, with a related form of immunity—state immunity—that shields them from lawsuits except in relation to certain actions relating to commercial activity in the United States. The principle of sovereign immunity in US law was inherited from the English common law legal maxim rex non potest peccare, meaning "the king can do no wrong." In some situations, sovereign immunity may be waived by law.