Deductions & credits

Who issues the 1099-S (i.e. the settlement agent or title company)?