I transition from PVC to galvanized underground about 2 ft before the spout horizontally, 24 inches of galvanized, then an ell, then 2-3ft of galvanized going up. This allows it to have strength and due to the 2ft horizontal run, puts very little load on the PVC. (No Freezing in Cali)