What is the meaning of Attainder?

The state a prisoner enters once a death sentence (usually for treason) had been issued; the state of being stripped of all civil rights.

A stain; a state of dishonour or condemnation.

Source: wiktionary.org