Sentence:  When the Spaniards were formerly contending against France, the noble earl said he felt for them, but he then recommended a cautious and prudent line of conduct to this country, and advised us not to <WSD>take part</WSD> with Spain. 
Meaning of the word marked with <WSD> tags:  To support or ally oneself (with).