In this rule

Historical Rules · 1 June 2020

Rule 508.7a

Official source text from the 1 June 2020 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