According to some Gnostic traditions, Simon of Cyrene, by mistaken identity, suffered the events leading up to the crucifixion, and died on the cross instead of Jesus.
He appeared on earth as a man and performed miracles.