On a theorem of Koenig