Agca gravely wounded John Paul in the 1981 shooting in Saint Peter 's Square .