After a marathon debate of more than seven hours, the Gujarat assembly on Tuesday passed the Uniform Civil Code (UCC) Bill that seeks to put in place a common legal framework to govern marriage, divorce, succession and live-in relationships irrespective of religion.