He pitched the first three innings and gave up three runs, but only one earned run.
The sentence describes a baseball game where the pitcher allowed three runs over three innings, but only one of them was considered an earned run.