The legislation also extends existing sanctions on Iran