They 'swore' (an oath of) allegiance to the United States of America. [=they formally promised that they would be loyal to the United States of America]
He 'swore us to secrecy/silence'. [=he made us promise not to tell anyone his secret]
He was so disgusted by the election results that he 'swore off' politics for good.
(..) implement REST API from OpenSubtitles.com Just checking. HOLY BIBLE No! No way in hell. That was not the deal. You people swore you could take the Saviors out. And you failed. So any arrangement we had is now done... Null and void. We aren't trade partners, (..)2017 TvShow: The Walking Dead Title: Rock in the Road Season: 7 Episode 9