the three condemned men had been sat on horses , the ropes round their necks thrown over tree branches above , and at the signal , the horses had been led out from under them , leaving them dangling .