A door system for a vehicle comprising a vehicle body structure and a first door structure, wherein the vehicle body structure comprises an opening to an interior compartment of the vehicle, wherein the door system comprises a displacement mechanism configured for displacing the first door structure in relation to the opening between an open position and a closed position, wherein the first door structure in the closed position is arranged to cover at least a portion of the opening, and wherein the first door structure in the open position is arranged at a distance from the closed position in a longitudinal direction of the vehicle body structure, wherein the first door structure comprises an essentially vertically arranged first door beam arranged to extend between a lower part of the vehicle body structure and an upper part of the vehicle body structure when the first door structure is arranged in a closed position, wherein a first bracket is attached to a lower end of the first door beam by at least one fastening means, wherein the first bracket is arranged to run in a first guide rail arranged in the vehicle body structure, wherein the first guide rail comprises a first recession, wherein the first bracket comprises a first protrusion arranged at a bottom end of the first bracket, wherein, upon a roof crush, the first protrusion and the first recession in the first guide rail is arranged to engage to prevent separation of the first door structure from the vehicle body structure.