A professor is a "high-ranking" teacher at a university. You can have a professor in pretty much any field, so there are math professors.
People tend not to know that most of the stuff a math graduate learned was already known by 30s, and category theory was only starting to become anything close to popular in 50s - 60s. People also tend not to know just how much math research have been done, especially in last 70 years.