Which sentence properly uses quotation marks and commas?

A) The man told me he knew the way. "Come with me" he said.

B) The man told me "he knew the way." Come with me, he said.

C) The man told me he knew the way. "Come with me," he said.

D) The man told me, he knew the way. "Come with me," he said.