Donald J. Trump took the oath of office to become the 45th president of the United states.