Device for the actuation of a parking lock of an automatic transmission for a motor vehicle, having a piston which is movably accommodated in a housing element, which for the actuation of the parking lock, can be acted upon via a valve device by a hydraulic medium from a reservoir, which has a first valve and a second valve arranged downstream of the first valve and upstream of the piston in the direction of flow of the hydraulic medium from the reservoir to the piston, which has at least one device connection, via which the hydraulic medium can be applied to the piston, and at least two switching states, having a working chamber which is bounded by the housing element and by the piston and into which the hydraulic medium can be introduced from the reservoir via the valve device in order to apply the hydraulic medium to the piston, having an electrically actuable actuator, by means of which the second valve can be moved from a first of the switching states into the second switching state by energizing the actuator, and having at least one spring element by means of which the second valve can be moved from the second switching state into the first switching state in an unenergized state of the actuator, wherein a control line is provided which is fluidically connected to the device connection and via which the hydraulic medium can be applied to the second valve and is thereby to be maintained in the second switching state, characterised in that - a first return line, which on the one hand is fluidically connected to the working chamber and on the other hand is connected to a second device connection of the second valve, via which the hydraulic medium can be guided from the working chamber to the second valve; - a second return line, which on the one hand is fluidically connected to the reservoir and on the other hand is connected to a third device connection of the second valve and via which the hydraulic medium can be guided from the second valve into the reservoir; - a third return line, which on the one hand is fluidically connected to the reservoir and on the other hand is connected to a fourth device connection of the second valve and via which the hydraulic medium can be guided from the second valve into the reservoir; and - a connecting line connected on the one hand to a fifth device connection of the second valve and on the other hand to a sixth device connection of the first valve. - a first return line, which on the one hand is fluidically connected to the working chamber and on the other hand is connected to a second device connection of the second valve, via which the hydraulic medium can be guided from the working chamber to the second valve; - a second return line, which on the one hand is fluidically connected to the reservoir and on the other hand is connected to a third device connection of the second valve and via which the hydraulic medium can be guided from the second valve into the reservoir; - a third return line, which on the one hand is fluidically connected to the reservoir and on the other hand is connected to a fourth device connection of the second valve and via which the hydraulic medium can be guided from the second valve into the reservoir; and - a connecting line connected on the one hand to a fifth device connection of the second valve and on the other hand to a sixth device connection of the first valve.