The 1971 act was later replaced by the "Matrimonial Causes Act 1973", which also declared that a marriage was void if the parties were not respectively male and female. Prohibition of same-sex marriages was also included in the marriage legislation of Scotland and Northern Ireland. The "Marriage Order (Northern Ireland) 2003" stated there was a legal impediment to marriage if the parties were of the same sex, but the "Marriage (Same-sex Couples) and Civil Partnership (Opposite-sex Couples) (Northern Ireland) Regulations 2019" removed this provision. The "Marriage Act (Scotland) 1977" had a similar legal impediment, but following the passage of the "Marriage and Civil Partnership (Scotland) Act 2014", the act no longer prohibits marriages if both parties are of the same sex.