I'm an American, my wife is Bulgarian. We plan to move to Spain in the next few months, and after 10 years of working under a work visa, I would apply for dual citizenship for myself. Can I get Spanish citizenship without losing my American citizenship?

Doing the Spanish Oath in front of the judge involves renouncing your current nationality...would that be the part that makes me lose my US Citizenship...?