[H]e inherited the mess left by his predecessor. ...
His predecessor inherited the mess left by his predecessor's predecessor. And so on.
Each has contributed to the mess, not necessarily because they wanted to, but rather because they didn't have the knowledge and skills necessary to tidy it up.