O'Rourke is sworn into office