TITLE: Swimming against the tide in the past century: remarkable achievements that arose in contrast to the general view of mathematicians
QUESTION [45 upvotes]: I would like to ask a question inspired by the title of a book by Sir Roger Penrose ([1]). The germ of this is to ask about the role, if any, of the fashion in research of pure and applied mathematics.
I'm going to focus the post (and modulate my genuine idea) about an aspect that I think can be discussed here from an historical and mathematical point of view, according to the following:

Question. I would like to know what are examples of remarkable achievements (in your research subject or another that you know) that arose against the general view/work of the mathematical community since the year 1900 up to the year 1975. Refer the literature if you need it. Many thanks.

An example is the mention that the author of [2] (as I interpret it) about Lennart Carleson and a conjecture due to Lusin in the second paragraph of page 671 (the article is in Spanish).
Your answer can refer to (for the research of pure or applied mathematics, and mathematical physics) unexpected proofs of old unsolved problems, surprising examples or counterexamples, approaches or mathematical methods that defied the contemporary (ordinary, mainstream) approaches, incredible modulizations solving difficult problems,... all these in the context of the question that is: the proponents/teams of these solutions and ideas swam against the work of the contemporary mathematics that they knew at the time.
*You can refer to the literature for the statements of the theorems, examples, methods,... if you need it. Also from my side it is welcome if you want to add some of your own historical remarks about the  mathematical context concerning the answer that you provide us: that's historical remarks (if there is some philosophical issue also) emphasizing why the novelty work of the mathematician that you evoke was swimming against the tide of the contemporary ideas of those years.
References:
[1] Roger Penrose, Fashion, Faith, and Fantasy in the New Physics of the Universe,  Princeton University Press (2016).
[2] Javier Duoandikoetxea, 200 años de convergencia de las series de Fourier, La Gaceta de la Real Sociedad Matematica Española, Vol. 10, Nº 3, (2007), pages 651-677.

REPLY [13 votes]: There are various examples of certain areas of mathematics being regarded as sterile and disconnected from the rest of mathematics, but nevertheless being pursued doggedly by some researchers, and eventually finding unexpected applications in other areas of mathematics.
Computability theory, especially the study of computably enumerable sets, is an example. Though it has been pursued ever since the mid-twentieth century, computability theory is even today regarded by most mathematicians as an arcane subject with little connection with the rest of mathematics.  However, as explained by Soare in his paper, Computability theory and differential geometry (non-paywalled version here), computability theory has found unexpected applications in the work of Nabutovsky and Weinberger in differential geometry.
Another possible example is the use of model theory to attack number-theoretic problems. The Ax–Kochen theorem dates from 1965, but my impression is that for a long time, most number theorists did not think that model theory was a particularly powerful or insightful tool. That skepticism has presumably evaporated with (for example) the success of o-minimality and the spectacular proof of the André–Oort conjecture.