Nancy Pelosi elected Speaker of the House at the opening of the 116th US Congress.