In this rule

Historical Rules · 8 July 2022

Rule 508.7a

Official source text from the 8 July 2022 Rules release

Permalink

The attacking creature isn’t removed from combat and it isn’t considered to have attacked a second time. That creature is attacking the reselected player or planeswalker, but it’s still considered to have attacked the player or planeswalker chosen as it was declared as an attacker.

Find this number in the current Rules