According to a model of the turbulent boundary layer that we propose, in the absence of external turbulence the intermediate region between the viscous sublayer and the external flow consists of two sharply separated self-similar structures, The velocity distribution in these structures is described by two different scaling laws. The mean velocity u in the region adjacent to the viscous sublayer is described by the previously obtained Reynolds-number-dependent scaling law phi = u/u* = Aeta(alpha), A = 1/root3 In Re-Lambda + 5/2, alpha = 3/2 In Re-Lambda, eta = u*y/nu. (Here u* is the dynamic or friction velocity, y is the distance from the wall, v the kinematic viscosity of the fluid, and the Reynolds number Re-Lambda is well defined by the data.) in the region adjacent to the external flow, the scaling law is different: phi = Beta(beta). The power beta for zero-pressure-gradient boundary layers was found by processing various experimental data and is close (with some scatter) to 0.2. We show here that for nonzero-pressure-gradient boundary layers, the power beta is larger than 0.2 in the case of an adverse pressure gradient and less than 0.2 for a favorable pressure gradient. Similarity analysis suggests that both the coefficient B and the power beta depend on Re-Lambda and on a new dimensionless parameter P proportional to the pressure gradient. Recent experimental data of Perry, Marusic, and Jones were analyzed, and the results are in agreement with the model we propose.