Phosphate ions and glutaminyl cyclases catalyze the cyclization of glutaminyl residues by facilitating synchronized proton transfers.