A suit or process, by which a demand is made of a right in
   a court of justice; in a broad sense, a judicial proceeding for the
   enforcement or protection of a right, the redress or prevention of a
   wrong, or the punishment of a public offense.