After months of rumors, the deal is finally done.