In 1889 the military governor of Cuba revoked some of the provisions of the Penal Code of Spain which had applied to Cuba. Some of the changes included that anyone who promoted or took part in any game of chance, except purely for recreation or pastime, should be subject to a fine; and that anyone who bribed a public officer with gifts, presents, offerings, or promises should receive the same punishment as the officer bribed, except for the deprivation of office.[20]