In this section

Historical Rules · 13 October 2023

Rule 506.6

Official source text from the 13 October 2023 Rules release

Permalink

Some abilities check to see whether or not a creature “had to attack” during a particular combat phase. A creature had to attack if one or more effects were requiring that creature to attack at the time attackers were declared in that combat. A creature did not “have to attack” if there were no such effects that required it to attack, even if there were no other legal attacks that could have been declared. (See rule 508.)

Find this number in the current Rules