In Korean, ~(ㄴ)다고 is used to quote someone's words or thoughts.