The doctrine of sovereign immunity holds that the government is immune from being sued. The doctrine of sovereign immunity was accepted and adopted by states early in American history, albeit not without criticism. Regardless of the controversy, it is generally held that the government must consent to be sued. This is true of both the federal government and state governments because all are constitutionally sovereign.