In this rule

Historical Rules · 13 July 2018

Rule 508.3d

Official source text from the 13 July 2018 Rules release

Permalink

An ability that reads “Whenever [a creature] attacks and isn’t blocked, . . .” triggers during the declare blockers step, not the declare attackers step. See rule 509.5g.

Find this number in the current Rules