The traditional notion of marriage goes back thousands of years.