I'm attempting to replace the pipes between the bathroom sink ptrap till the end of the pipe that leads to the basement as you can see depicted in the photo. I was able to remove the ptrap as well as the 3 galvanized couplers that it led to. This was all done via vice grips and brute force.
I've reached a point where I couldn't remove the elbow, nor the pipe that connects to the pipe that is protruding the basement. Because the toilet is in the way I can't get enough torque with vice grips so I purchased 2 pipe wrenches and WD40, but the pipe standing vertically and the elbow will not budge at all. The coupler marked with an X was removed already so that can be disregarded.
I guess my question is how to remove the elbow and the pipe connecting to the pipe in the basement? Do I have to remove the toilet or is there an alternative option? Ultimately I was looking to reuse the pipe leading from the basement and connect a galvanized to pvc coupling.