Nancy Pelosi of California was elected speaker of the House on Thursday, returning the gavel to her hands eight years after she lost it when Republicans took control of the chamber in 2011.

There were 15 Democrats who voted against her in the roll call vote.

Some had run on a pledge not to support Pelosi as speaker should Democrats regain control of the House, saying the party needed new blood in leadership.

Some stuck to that pledge while others eventually supported Pelosi. Here are the 15 Democrats who voted against her:

Rep. Anthony Brindisi of New York voted for former Vice President Joe Biden.