By taking the oath of allegiance made Ling a US citizen.
Possible revision:
Taking the oath of allegiance made Ling a US citizen. or By taking the oath of allegiance, Ling became a US citizen.