A window for installation in a roof structure, comprising a frame including a top frame member, a bottom frame member and two side frame members (4, 5), and a plurality of mounting brackets (6; 106), each mounting bracket (6; 106) comprising a first bracket leg (7; 107) for fastening to the roof structure, and, for fastening to one of said frame members (2, 3, 4, 5), a second bracket leg (8; 108) extending from the first bracket leg (7; 107) at a first angle (α), the first angle (α) being essentially orthogonal in an unloaded condition of the mounting bracket (6; 106), wherein in a first load condition, in which forces act on the mounting bracket (6; 106) so as to diminish the first angle (α), a first torque threshold is provided, beyond which plastic deformation of the mounting bracket (6; 106) occurs, and wherein in a second load condition, in which forces act on the mounting bracket so as to increase the first angle (α), a second torque threshold is provided, beyond which plastic deformation of the mounting bracket (6; 106) occurs, the second torque threshold being different from the first torque threshold, characterized in that each mounting bracket further comprises at least one flange (9; 109) extending at a second angle (β) from the second bracket leg (8; 108) so that an edge (10; 110) of the at least one flange (9; 109) is facing the first bracket leg (8, 7; 108; 107), and wherein, in the first load condition, in which forces act on the mounting bracket so as to diminish the first angle (α), the edge (10; 110) of the flange (9; 109) is being brought into abutment with the first bracket leg (8, 7; 108; 107) providing the first torque threshold, and in that in the first load condition, deformation of the mounting bracket (6; 106) occurs primarily in a first deformation zone in the first bracket leg, the first deformation zone being essentially line shaped and extending along a line, which line is essentially parallel to and offset from the longitudinal extension of the interconnection between the first bracket leg with the second bracket leg so as to intersect a point of contact between the first bracket leg and the at least one flange, which point of contact is the point of contact farthest away from the interconnection, and in that, in the second load condition, deformation of the mounting bracket (6; 106) occurs primarily in a second deformation zone in the first bracket leg, the second deformation zone being delimited by the interconnection and the line. in a first load condition, in which forces act on the mounting bracket (6; 106) so as to diminish the first angle (α), a first torque threshold is provided, beyond which plastic deformation of the mounting bracket (6; 106) occurs, and wherein in a second load condition, in which forces act on the mounting bracket so as to increase the first angle (α), a second torque threshold is provided, beyond which plastic deformation of the mounting bracket (6; 106) occurs, the second torque threshold being different from the first torque threshold, characterized in that each mounting bracket further comprises at least one flange (9; 109) extending at a second angle (β) from the second bracket leg (8; 108) so that an edge (10; 110) of the at least one flange (9; 109) is facing the first bracket leg (8, 7; 108; 107), and wherein, in the first load condition, in which forces act on the mounting bracket so as to diminish the first angle (α), the edge (10; 110) of the flange (9; 109) is being brought into abutment with the first bracket leg (8, 7; 108; 107) providing the first torque threshold, and in that in the first load condition, deformation of the mounting bracket (6; 106) occurs primarily in a first deformation zone in the first bracket leg, the first deformation zone being essentially line shaped and extending along a line, which line is essentially parallel to and offset from the longitudinal extension of the interconnection between the first bracket leg with the second bracket leg so as to intersect a point of contact between the first bracket leg and the at least one flange, which point of contact is the point of contact farthest away from the interconnection, and in that, in the second load condition, deformation of the mounting bracket (6; 106) occurs primarily in a second deformation zone in the first bracket leg, the second deformation zone being delimited by the interconnection and the line.