Henry had a habit of running in the house, which was not allowed.
Henry was in trouble, but he learned his lesson about running inside.
Henry's mom caught him running in the house and grounded him.
Henry's mom caught him running outside and grounded him.