Complex sentence: Right away, Mainframe attempted to establish himself as team leader, and frequently encountered resistance from Stinger (who did not know that Mainframe was a robotic lifeform).
Split into simpler sentences: Right away, Mainframe attempted to establish himself as team leader. He frequently encountered resistance from Stinger (who did not know that Mainframe was a robotic lifeform).