Abstract: A device for a tailgate (80) of a vehicle includes a camera unit for capturing images of the outer region of the vehicle and a control unit for controlling a part of the vehicle. The camera unit and control unit are arranged adjacent each other on the vehicle by means of a carrier element. The camera unit is accommodated in a housing in a protected manner, and a movable closure element is provided to close a housing opening. The closure element can be moved by means of a drive unit into at least two end positions, a closed position and an open position. The housing is constructed in at least two parts, the carrier element forming a first housing part on which the control element and the camera unit can be arranged, and the drive unit arranged on a second housing part.