LONDON - A British lawmaker has apologized after he was photographed playing a video game on his tablet during a committee hearing in Parliament.

The Sun newspaper on Monday ran pictures of Conservative legislator Nigel Mills playing Candy Crush Saga during a meeting last week about pensions and insurance.

Mills apologized unreservedly and said it wouldn't happen again.

Fellow legislator Edward Leigh said Mills had likely been trying to keep himself awake. He told the BBC that during his time on a committee, "I just about managed not to go to sleep and not to play computer games but my God, it was boring."

Meanwhile, parliamentary authorities have launched an investigation -- not into Mills, but into who took the pictures. Recording images without permission is against parliamentary rules.