Galvanized pipe served it's purpose for years but when it goes bad, it's over. If you remove a piece of that 1" pipe, it will probably have a hole smaller than a pencil in it. I think you are going to be repiping. Sorry.
If you have never made a mistake, you haven't done much.