While under US rule
That does not matter. Both his parents were US citizens.
to be president you actually have to be born in the US