Ending phase

The ending phase is the fifth and final phase of a turn. Prior to the Magic 2010 rules changes, this phase was known as simply the end phase. It consists of the following two steps:
 * End step
 * Cleanup step

End step
The end step, often referred to as the "end of turn" and previously known as the "end of turn step", is the first step of the ending phase. It is usually the last opportunity for a player to perform any action before the next player's turn starts.

The end step was magicthegathering.com's theme for the week of Aug 28th, 2006. undefined

Cleanup step
The cleanup step is the second and final step of the ending phase. Spells and abilities may be played during this step only if the conditions for any state-based actions exist or if any abilities have triggered. In that case, those state-based actions are performed and/or those abilities go on the stack and the active player gets priority and players may cast spells and activate abilities. Once all players pass priority when the stack is empty, the step repeats.