Marriage shortens the residence needed for citizenship to four years, and a registered cohabitation to five. Same-sex marriages count the same.