DENVER — A former Arvada city councilwoman has been sworn in to replace a Colorado state Democratic senator who resigned to avoid a potential recall election driven by gun rights advocates.

Rachel Zenzinger, also a Democrat, took the oath of office Friday in the state Senate chambers. With her appointment, Democrats maintain a one-seat majority in the Senate.

Zenzinger replaces Sen. Evie Hudak, who resigned last month just days before gun-control opponents planned to turn in signatures to force a recall election. Two other state Senate Democrats were recalled from office in September because of their support for new gun restrictions earlier this year.

A Hudak recall election would have risked losing the chamber to Republican control.