Community looks tentatively to future as party that sought to demonise them is unlikely to retain power