A majority of votes was needed for the bill to pass.