Qualified Immunity, as established by the 2001 Supreme Court of the United States case, Saucier v. Katz, held where government officials, in the course of performing their duties legally and lawfully, are immune from criminally standing trial.  Qualified Immunity also protects from liability (that is being individually sued in civil court).