Ziauddin Barani, a 14th century historian and thinker in the Delhi Sultanate, emphasized that the historian's duty extends beyond mere recording of events. He believed historians should provide moral guidance and distinguish between right and wrong actions, making history a tool for ethical instruction.