Though the Commonwealth had the power since federation in 1901 to make laws affecting divorce and related matters such as custody and maintenance, it did not enact uniform national laws until 1961, when the "Matrimonial Causes Act 1961" came into operation. The Act continued the fault-based system operating under state authority. Under the Commonwealth law a spouse had to establish one of the 14 grounds for divorce set out in the Act, including adultery, desertion, cruelty, habitual drunkenness, imprisonment and insanity. In reality, the system was very expensive and humiliating for the spouses, necessitating appointment of barristers, often private detectives, collection of evidence, obtaining witness statements, photographs and hotel receipts, etc. Failure to prove a spouse's guilt or wrongdoing would result in a judge refusing to grant a divorce. The "Matrimonial Causes Act 1961" was replaced by no-fault divorce system of the "Family Law Act 1975".