Rep. Kathleen Rice has captured a prized seat on the House Energy and Commerce Committee after a contentious showdown with fellow New Yorker, Rep. Alexandria Ocasio-Cortez.

Rice and Ocasio-Cortez have been battling behind the scenes for weeks to secure one of the few open seats on the exclusive committee, which oversees everything from health care policy to climate issues. Tensions spilled into the open Thursday in a private meeting of the Steering and Policy Committee, where Democrats were forced to choose between the two members in a tense — and awkward — secret ballot vote.

Rice ultimately won in a lopsided vote of 46-13, though it wasn’t without some drama after some moderate Democrats openly criticized Ocasio-Cortez.