Private Equity Question

I’m a little confused about the structure of a LBO. Exact which party issues the debt? The private equity fund or the acquired the company?