While most of the attention from Tuesday’s primary elections went toward political upstart Tiffany Cabán’s apparent victory in the Queens district attorney race, another insurgent candidate quietly defeated her own party-backed opponent in the Democratic primary for judge of the civil court.

Lumarie Maldonado Cruz received 61.9% of the vote Tuesday in her rout of Wyatt N. Gibbons, who was selected by Queens Democratic Party officials as their preferred candidate for the seat on the county’s Civil Court. Out of 69,542 votes cast in the primary, Maldonado Cruz received a total of 43,044 to lock up a 17,006-vote margin in the race, according to the state Board of Elections.