Wiper stub nut removal

I recently needed to remove the wiper stubs to replace the rubber seal between it and the body …. but the retaining nut was stubborn. It was well corroded and would not move.

The only way to remove the nut was to cut through it at an angle as shown in the photo and replace it with a new one.