Control valve for controlling pressure medium flows, which comprises: a cylindrical valve housing having a housing cavity which is open at one side and which is provided with an axial outflow port, a radial first working port, a radial second working port, a radial third working port (Pin), a radial pressure port and three radial outflow ports (T1-T3), which open in each case into the housing cavity, wherein in the axial direction, the pressure port is arranged between a first radial outflow port and a second radial outflow port, the first working port and the second working port are arranged between the second radial outflow port and a third radial outflow port, a cylindrical control piston which is held in an axially movable manner in the housing cavity and which has a piston cavity, the control piston being designed such that, as a result of the axial displacement thereof, - the first working port can be connected in fluid-conducting fashion selectively to the pressure port and the second radial outflow port, - the second working port can be connected in fluid-conducting fashion selectively to the pressure port and the third radial outflow port, - the third working port (Pin) can be connected in fluid-conducting fashion selectively to the pressure port and the axial outflow port, wherein, in a first piston position, the first working port is connected in fluid-conducting fashion to the pressure port and at the same time the third working port (Pin) is connected in fluid-conducting fashion to the axial outflow port, and, in a second piston position, the second working port is connected in fluid-conducting fashion to the pressure port and at the same time the third working port (Pin) is connected in fluid-conducting fashion to the axial outflow port. a cylindrical valve housing having a housing cavity which is open at one side and which is provided with an axial outflow port, a radial first working port, a radial second working port, a radial third working port (Pin), a radial pressure port and three radial outflow ports (T1-T3), which open in each case into the housing cavity, wherein in the axial direction, the pressure port is arranged between a first radial outflow port and a second radial outflow port, the first working port and the second working port are arranged between the second radial outflow port and a third radial outflow port, a cylindrical control piston which is held in an axially movable manner in the housing cavity and which has a piston cavity, the control piston being designed such that, as a result of the axial displacement thereof, - the first working port can be connected in fluid-conducting fashion selectively to the pressure port and the second radial outflow port, - the second working port can be connected in fluid-conducting fashion selectively to the pressure port and the third radial outflow port, - the third working port (Pin) can be connected in fluid-conducting fashion selectively to the pressure port and the axial outflow port, wherein, in a first piston position, the first working port is connected in fluid-conducting fashion to the pressure port and at the same time the third working port (Pin) is connected in fluid-conducting fashion to the axial outflow port, and, - the first working port can be connected in fluid-conducting fashion selectively to the pressure port and the second radial outflow port, - the second working port can be connected in fluid-conducting fashion selectively to the pressure port and the third radial outflow port, - the third working port (Pin) can be connected in fluid-conducting fashion selectively to the pressure port and the axial outflow port, wherein, in a first piston position, the first working port is connected in fluid-conducting fashion to the pressure port and at the same time the third working port (Pin) is connected in fluid-conducting fashion to the axial outflow port, and, in a second piston position, the second working port is connected in fluid-conducting fashion to the pressure port and at the same time the third working port (Pin) is connected in fluid-conducting fashion to the axial outflow port.