A new state attorney for Palm Beach County took her oath of office Tuesday morning inside a downtown West Palm Beach courtroom.