A total of 793 mechanically ventilated infants ( birth weight 500-1250 g ) were randomized ( after stratification by birth weight ) to receive placebo or iNO ( 5 ppm ) for 21 days or until extubation ( 500-749 , 750-999 , or 1000-1250 g ) .