From the Comprehensive Rules (Core Set 2019 (July 13, 2018))
- 511. End of Combat Step
- 511.1. The end of combat step has no turn-based actions. Once it begins, the active player gets priority. (See rule 116, “Timing and Priority.”)
- 511.2. Abilities that trigger “at end of combat” trigger as the end of combat step begins. Effects that last “until end of combat” expire at the end of the combat phase.
- 511.3. 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).
From the glossary of the Comprehensive Rules (Core Set 2019 (July 13, 2018))
- End of Combat Step
- Part of the turn. This step is the fifth and final step of the combat phase. See rule 511, “End of Combat Step.”