Rule · Chapter 4
cr:4.4.3
Second, the end-of-turn procedure occurs. After each step in the end-of-turn procedure, if a triggered effect has triggered, the triggered-layers are added to the stack; then layers on the stack resolve and game state actions are performed as if all players are passing priority in succession until the stack is empty. The end-of-turn procedure happens in the following order: