Both parties do shit like that all the time, also keep in mind most Republicans in power back then like Mitt Romney, John McCain, and Dubya, are like the dictionary definition of "Swamp creature".
That's also why the Media calling for a "principled" Republican party is funny, Trump does...