The Iraqi parliament on Thursday approved a security pact that lets US troops remain in the country for three more years.