Gerrymandering has been around since the early 1800's. Those folks were sure forward thinking, "let's create this now so we can elected Trump in 200 years..."
It was around and barely a factor until the Reds figured out how to industrialize it. They hired computer and math wizards to craft exotic districts to isolate Dems and give reds advantages in more and more districts. They made a local flaw into a powerful tool to cheat.