Political parties and independent candidates in the Eastern Cape have pledged peaceful and lawful campaigning after signing the Electoral Code of Conduct in East London ahead of the municipal elections.