A Democratic mayor from Pennsylvania has resigned after being arrested on prostitution charges that he claims were fabricated because of his “political position.”