President hails the passage of the legislation after days of uncertainty and negotiations that went down to the wire.