Device for retaining a boot on a sliding board, the retaining device comprising: - a mechanism for holding an attachment element belonging to the boot in position, the holding mechanism comprising a jaw which is movable between an engagement position, in which the movable jaw is capable of cooperating with the attachment element so as to allow the attachment element to be secured to the retaining device while allowing the boot to rotate about an axis transverse to the retaining device, and a release position, in which the movable jaw is in a configuration which allows the attachment element to be detached from the retaining device, and the holding mechanism comprising an actuating member which controls a movement of the movable jaw in order to cause it to switch from the engagement position into the release position, - a longitudinal stop element which is movable between an active position, in which the longitudinal stop element is capable of cooperating with complementary indexing means which are secured to the sliding board in order to immobilize the retaining device along the sliding board in one of a plurality of predetermined positions, and an inactive position, in which the longitudinal stop element does not cooperate with the complementary indexing means, - a locking means which is movable between a locked position, in which the locking means is capable of cooperating with the stop element so as to hold it in its active configuration, and an unlocked position, in which the movable locking means is in a configuration which allows the stop element to be switched from its active position into its inactive position, the locking means being kinematically connected to the movable jaw such that, when the locking means is in its locked position, the movable jaw is systematically in its engagement position, characterized in that it comprises a holding means which allows the longitudinal stop element to be held in a stable active position, independently of the position of the locking means. - a mechanism for holding an attachment element belonging to the boot in position, the holding mechanism comprising a jaw which is movable between an engagement position, in which the movable jaw is capable of cooperating with the attachment element so as to allow the attachment element to be secured to the retaining device while allowing the boot to rotate about an axis transverse to the retaining device, and a release position, in which the movable jaw is in a configuration which allows the attachment element to be detached from the retaining device, and the holding mechanism comprising an actuating member which controls a movement of the movable jaw in order to cause it to switch from the engagement position into the release position, - a longitudinal stop element which is movable between an active position, in which the longitudinal stop element is capable of cooperating with complementary indexing means which are secured to the sliding board in order to immobilize the retaining device along the sliding board in one of a plurality of predetermined positions, and an inactive position, in which the longitudinal stop element does not cooperate with the complementary indexing means, - a locking means which is movable between a locked position, in which the locking means is capable of cooperating with the stop element so as to hold it in its active configuration, and an unlocked position, in which the movable locking means is in a configuration which allows the stop element to be switched from its active position into its inactive position, the locking means being kinematically connected to the movable jaw such that, when the locking means is in its locked position, the movable jaw is systematically in its engagement position,