Select the sentence that has the adverb in the correct location.
A. The dog ran excitedly when he saw his owner coming home.
B. The dog ran when he excitedly saw his owner coming home.
C. The dog ran when he saw his excitedly owner coming home.
D. The excitedly dog ran when he saw his owner coming home.