Historical Rules · 29 April 2022
Rule 508.7a
Official source text from the 29 April 2022 Rules release
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.