political party, gang, faction
Phonosemantic compound. 黑 represents the meaning and 尚 represents the sound. Based on the original meaning "dark". The current meaning is a phonetic loan.
《說文》:“黨,不鮮也。从黑,尚聲。”
dark