New senator takes oath of office