Complex sentence: The Egyptians managed to persuade the pro-Jordanian mayor to support their rule, at least superficially, but local opinion turned against them when they imposed taxes.
Split into simpler sentences: The Egyptians managed to persuade the pro-Jordanian mayor to support their rule, at least superficially. But local opinion turned against them when they imposed taxes.