Whats the best way to get this fitting off

And the heat from the welding helps the process.
I had to add additional heat after I welded it. The first 2 attempts broke the weld on the 3rd attempt I welded it and the put a torch around the fitting.