A method for automated CPR includes controlling a position of a compression element during movement of the compression element from an initial starting position (P0) of a first compression cycle to a first compression position (P1) corresponding to a first compression depth and back to a rest position of the compression element. After, the rest position has been reached, the method includes controlling a force exerted on the compression element, to ensure that the compression element stays in contact or re-contacts with the chest while allowing the chest to move upward due to ventilation, prior to the start of a second compression cycle.