For example, in The Anarchy, William Dalrymple speculates that Ghulam Kadir, leader of an Afghan army that sacked Delhi in 1788, may have blinded the Mughal Emperor Shah Alam II and treated his family with particular cruelty because Shah Alam likely molested Kadir when Kadir was a young political hostage at the Mughal court.
This is a post about it in ancient Rome by u/toldinstone: How was pedophilia considered in the Roman Empire? Did it began to be seen as a sin with the advent of Christianity or was it being condemned already?
Also this one about it in Tokugawa-era Japan by u/shinkouhyou: Pedophilia/lover boys was widespread under eras like the antique, it being social acceptable, were the children affected less? Or equally harrowed by it as today?