The New Zealand SPCA was formed by settlers from England in 1882, inspired by the Society for the Prevention of Cruelty to Animals in England which was formed in 1824 after the passing of the Cruel Treatment of Cattle Act 1822 and which lobbied for the Cruelty to Animals Act 1835. This law was later replaced by the Cruelty to Animals Act 1876, a law which the settlers brought with them during the colonisation of New Zealand. The English society received royal patronage in 1840.