A pedal assembly for a motor vehicle, comprising: a bracket having a first groove, a pedal shaft arranged in the first groove, a pedal arm with a first end and a second end, the second end comprising a pedal plate and the pedal arm being pivotally coupled to the bracket via the pedal shaft at a position distant from the second end, an operating device for activation or control of a vehicular function, such as a breaking function, a clutching function or the like, and which operating device is pivotally coupled to the pedal arm at an operating device shaft distant from the pedal shaft, at least one locking device, for locking of the pedal shaft in an operating position (a) in the first groove, the locking device being coupled to the bracket via a locking device shaft, wherein the locking device is releasable in the event of a collision, to allow movement of the pedal shaft in the first groove from the operating position (a) to a safety position (b), characterized by the bracket having a second groove, and by the pedal assembly having a locking pin arranged in a locking position (c) in the second groove, in order to prevent the release of the locking device, and which locking pin is movably disposed relative to the bracket along the second groove from its locking position (c) to a release position (d) in which the locking device is released, an actuator device attached to an actuator device shaft and the actuator device is further fastened relative to the bracket at a distance from the actuator device shaft by at least one fastening device, and the actuator device is arranged to rotate around an axis defined by the actuator device shaft in the event of a collision, by means of an external force caused by the collision onto the actuator device, wherein the actuator device is arranged to shear the at least one fastening device and further displace the locking pin from its locking position (c) to the release position (d), whereby the locking device is allowed to rotate around the axis (z) of the locking device shaft, as the result of the external force, thereby allowing the pedal shaft to move from the operating position (a) to the safety position (b), wherein the first groove comprises a first end corresponding to the operating position (a) and a second end corresponding to the safety position (b), and the second end of the groove is open, thereby allowing the pedal shaft to be completely detached from the bracket. a bracket having a first groove, a pedal shaft arranged in the first groove, a pedal arm with a first end and a second end, the second end comprising a pedal plate and the pedal arm being pivotally coupled to the bracket via the pedal shaft at a position distant from the second end, an operating device for activation or control of a vehicular function, such as a breaking function, a clutching function or the like, and which operating device is pivotally coupled to the pedal arm at an operating device shaft distant from the pedal shaft, at least one locking device, for locking of the pedal shaft in an operating position (a) in the first groove, the locking device being coupled to the bracket via a locking device shaft, wherein the locking device is releasable in the event of a collision, to allow movement of the pedal shaft in the first groove from the operating position (a) to a safety position (b), characterized by the bracket having a second groove, and by the pedal assembly having a locking pin arranged in a locking position (c) in the second groove, in order to prevent the release of the locking device, and which locking pin is movably disposed relative to the bracket along the second groove from its locking position (c) to a release position (d) in which the locking device is released, an actuator device attached to an actuator device shaft and the actuator device is further fastened relative to the bracket at a distance from the actuator device shaft by at least one fastening device, and the actuator device is arranged to rotate around an axis defined by the actuator device shaft in the event of a collision, by means of an external force caused by the collision onto the actuator device, wherein the actuator device is arranged to shear the at least one fastening device and further displace the locking pin from its locking position (c) to the release position (d), whereby the locking device is allowed to rotate around the axis (z) of the locking device shaft, as the result of the external force, thereby allowing the pedal shaft to move from the operating position (a) to the safety position (b), wherein the first groove comprises a first end corresponding to the operating position (a) and a second end corresponding to the safety position (b), and the second end of the groove is open, thereby allowing the pedal shaft to be completely detached from the bracket.