Might look inside the starter/Gen, could be something simple like worn brushes,
they come apart easy.
Also makes me wonder as you say the battery was "dead" thinking maybe the cutout part of regulator stuck closed, and drained the battery totally dead.
-------or the key was left on