Ajani's Last Stand

Card Text:
Whenever a creature or planeswalker you control dies, you may sacrifice Ajani's Last Stand. If you do, create a 4/4 Avatar creature token with flying.When a spell or ability an opponent controls causes you to discard this card, if you control a Plains, create a 4/4 Avatar creature token with flying.