A closure device for connecting two assemblies to one another, comprising - a first closure part which is to be arranged on one of the assemblies and which has at least two locking pieces with in each case a locking section and at least one first magnetic element , - a second closure part which is to be fastened to the other of the assemblies and which has at least two locking receptacles and at least one second magnetic element , wherein the first closure part and the second closure part are attachable to one another in a closing direction (X) and are connected to one another in a closed position, by the locking pieces of the first closure part being received in the locking receptacles of the second closure part (5, wherein the first magnetic element and the second magnetic element are configured to assist magnetically the attachment of the first closure part and the second closure part to one another, and - an arresting mechanism which is arranged on the second closure part and which has at least two arresting elements and an actuating mechanism which is operatively connected to the arresting elements , wherein the arresting elements are able to be brought into operative connection with the locking sections of the locking pieces in the closed position, in order to produce a positively locked connection or a frictional connection between the first closure part and the second closure part , wherein the actuating mechanism is actuatable in order to adjust the arresting elements relative to the locking receptacles so that the first closure part and the second closure part are releasable from one another, characterized in that the actuating mechanism has a lever element which is pivotable relative to the second closure part in order to adjust the arresting elements relative to the locking receptacles , wherein the actuating mechanism has a connecting lever which is connected at a first joint axis in an articulated manner to the lever element and at a second joint axis in an articulated manner to one of the arresting elements . - a first closure part which is to be arranged on one of the assemblies and which has at least two locking pieces with in each case a locking section and at least one first magnetic element , - a second closure part which is to be fastened to the other of the assemblies and which has at least two locking receptacles and at least one second magnetic element , wherein the first closure part and the second closure part are attachable to one another in a closing direction (X) and are connected to one another in a closed position, by the locking pieces of the first closure part being received in the locking receptacles of the second closure part (5, wherein the first magnetic element and the second magnetic element are configured to assist magnetically the attachment of the first closure part and the second closure part to one another, and - an arresting mechanism which is arranged on the second closure part and which has at least two arresting elements and an actuating mechanism which is operatively connected to the arresting elements , wherein the arresting elements are able to be brought into operative connection with the locking sections of the locking pieces in the closed position, in order to produce a positively locked connection or a frictional connection between the first closure part and the second closure part , wherein the actuating mechanism is actuatable in order to adjust the arresting elements relative to the locking receptacles so that the first closure part and the second closure part are releasable from one another, <EOS>