Peter answered that he did not know Jesus.
As soon as Peter answered the third time, a rooster crowed.