Etymology
Today it means: An election held to fill a political office that has become vacant between general elections. Full definition →
From by- (“side, secondary, ancillary”) + election.
Etymology from Wiktionary, CC BY-SA 4.0.