Forward photoproduction of neutral pions on polarized protons in the third resonance region