Tradition, not the Bible
How did Peter die?
Jesus hinted at the kind of death Peter would die. Early Christian writers say he was crucified in Rome under Nero, about AD 64 to 68, and later tradition adds that he asked to be crucified upside down. The Bible does not describe his death.
See John 21:18-19