An assembly comprising an end-fitting with a first-end and a second-end and a through-going opening having a center axis between the first-end and the second-end, and an unbonded flexible pipe comprising several layers and having a center axis along its length, said center axis of the unbonded flexible pipe being substantially coinciding with the center axis of the end-fitting for the part of the unbonded flexible pipe arranged in the end-fitting, said unbonded flexible pipe, having an end-part entering the end-fitting at the first-end and the layers of the unbonded flexible pipe being terminated in the end-fitting between the first-end and the second-end, said unbonded flexible pipe further comprises a first electrically conductive layer and a second electrically conductive layer (12, 14), said first electrically conductive layer being electrically insulated from the second electrically conductive layer (12, 14), and the end-fitting comprises a first electric zone electrically connected with the first electrically conductive layer, and a second electric zone electrically connected with the second electrically conductive layer (12, 14), said first electric zone being electrically separated from the second electric zone, wherein the end-fitting comprises a third electric zone, said third electric zone being electrically separated from first electric zone and the second electric zone, characterized in that said first electrical zone and said second electrical zone are arranged along the length of the center axis and concentrically in respect of the center axis and at least a part of said third electrical zone is located closer to the second end of the end-fitting than the first and the second electric zones (31, 32), wherein the first electrically conductive layer and the second electrically conductive layer (12, 14) are connected with a source for electric power via the first and the second electric zones (31, 32) of the end-fitting, and wherein the applied electric power source is configured for being floating. said unbonded flexible pipe, having an end-part entering the end-fitting at the first-end and the layers of the unbonded flexible pipe being terminated in the end-fitting between the first-end and the second-end, said unbonded flexible pipe further comprises a first electrically conductive layer and a second electrically conductive layer (12, 14), said first electrically conductive layer being electrically insulated from the second electrically conductive layer (12, 14), and the end-fitting comprises a first electric zone electrically connected with the first electrically conductive layer, and a second electric zone electrically connected with the second electrically conductive layer (12, 14), said first electric zone being electrically separated from the second electric zone, wherein the end-fitting comprises a third electric zone, said third electric zone being electrically separated from first electric zone and the second electric zone, characterized in that said first electrical zone and said second electrical zone are arranged along the length of the center axis and concentrically in respect of the center axis and at least a part of said third electrical zone is located closer to the second end of the end-fitting than the first and the second electric zones (31, 32), wherein the first electrically conductive layer and the second electrically conductive layer (12, 14) are connected with a source for electric power via the first and the second electric zones (31, 32) of the end-fitting, and wherein the applied electric power source is configured for being floating.