The reciprocity conjecture in the Langlands program links motives to automorphic forms. The proof of Fermat's Last Theorem by Wiles [180,169] introduced new tools to study reciprocity. This survey reports on developments using these ideas (and their generalizations) in the last three decades.