For the first time the party has won control of local councils, as well as two mayoralties.