Ludwig Sylow was a high school teacher who proved what is perhaps the most profound result in the theory of finite groups.
Find out more at: https://mathshistory.st-andrews.ac.uk/Biographies/Sylow/