Which of these sentences uses quotation marks and other punctuation correctly?


“I tried to argue,” Joe said. “but the referee just ordered me to “quiet down!””


“I tried to argue,” Joe said, “but the referee just ordered me to ‘quiet down!’”


“I tried to argue.” Joe said, “but the referee just ordered me to ‘quiet down’!”


“I tried to argue,” Joe said, “But the referee just ordered me to ‘quiet down!’”

The correct sentence is: "I tried to argue," Joe said, "but the referee just ordered me to 'quiet down!'"