TIL Impotence Trials were a big thing in Medieval Times. If a man couldn't get it up. The marriage could be annuled.

en.wikipedia.org