511.1
First, all "at end of combat" abilities trigger and go on the stack. (See rule 603, "Handling Triggered Abilities.")
Historical Rules · Effective 1 May 2013
Read Section 511 continuously, or open any rule on its dedicated page.
Chapter 5 · Turn Structure
Section 511
3 rules
First, all "at end of combat" abilities trigger and go on the stack. (See rule 603, "Handling Triggered Abilities.")
Second, the active player gets priority. Players may cast spells and activate abilities.
As soon as the end of combat step ends, all creatures and planeswalkers are removed from combat. After the end of combat step ends, the combat phase is over and the postcombat main phase begins (see rule 505).