Complex sentence: While travelling to Sarnath, Gautama Buddha had had no money with which to pay the ferryman to cross the Ganges, so he crossed it through the air.
Split into simpler sentences: While travelling to Sarnath, Gautama Buddha had to cross the Ganges. Having no money with which to pay the ferryman, he crossed the Ganges through the air.