Tāmen tán le sān nián yìdìliàn, shàng ge yuè zhōngyú jiéhūn le.
They dated long-distance for three years and finally got married last month.
Tips
register
Very common modern internet/spoken term, often used with the verb 谈 (谈异地恋 'to be in a long-distance relationship'). Contrast 异国恋 'international relationship' - 异地 emphasizes different cities, 异国 different countries.