change fuel filler pipe on 1992 Subaru Legacy

I loose the hose to the tank and unscrewed 3 botls at filler cap but I still cannot take out the old leaking pipe. What else do I need to do to replace the leaking pipe?

Asked by for the 1992 Subaru Legacy
Why was the pipe leaking? And were you able to get it out without removing the fuel tank?