单项选择题

The small nation survived the war by______ itself to one of the superpowers.

A.devoting
B.indulging
C.affiliating
D.acclaiming