Flogging is the act of beating or whipping (from the Latin flagellum, "whip"). Typically, flogging is imposed on an unwilling subject as a punishment; however, it can also be submitted to willingly, or performed on oneself, in religious contexts. Corporal punishment in Irish schools was banned in 1982, and made illegal in 1996.