def METHOD_NAME():
    assert ctx.caller == controller.get(), 'Wrong smart contract caller.'
    r = to_be_relinquished.get()
    if r is not None:
        no_confidence_state['votes', r] = 0
        to_be_relinquished.set(None)
    else:
        no_confidence_state.clear('votes')
        candidate_state['registered', last_candidate.get()] = False
        last_candidate.set(None)