What does “cast ” mean in this context?
He failed last month in the primary elections when he tried to unseat a Republican state senator who'd cast pro-union votes and tried to retain a Democratic state representative who'd supported him at key moments.