What does "align oneself with" mean?

Native speaker’s answer
Rebecca
To "align oneself with" means to ally oneself of associate with someone or someone's ideas. You can think of it as a type of partnership or agreement. For example, the speaker in this video has used this expression to state that the woman associated herself with powerful men in the same industry. Ex: When the war was declared, the army quickly aligned itself with the official government. Ex: The newbie was clever and quickly aligned himself with the senior management of the company.