Under Spanish law, homosexuality was punishable by death. Spanish authorities and the Catholic Church condemned homosexuality in the harshest language possible, despite its prevalence. As Captain General of the fleet, Magellan had little choice but to take disciplinary action, but he found himself in an impossible predicament, caught between the cruelty of Spanish law and the reality of homosexuality at sea.