ref
From relation + -ship.
relationship (n.)
1640s, "sense or state of being related" by kindred, affinity, or other alliance, from relation + -ship. Specifically of romantic or sexual intimacy by 1944.