Cancer has spread through the layer of connective tissue to the muscle layer of the renal pelvis and/or ureter.