The Immigration Rules, under the Immigration Act 1971, were updated in 2012 (Appendix FM) to create a strict minimum income threshold for non-EU spouses and children to be given leave to remain in the UK. These rules were challenged in the courts, and in 2017 the Supreme Court found that while "the minimum income threshold is accepted in principle" they decided that the rules and guidance were defective and unlawful until amended to give more weight to the interests of the children involved, and that sources of funding other than the British spouse's income should be considered.