We analyze the $\ensuremath{\gamma}N\ensuremath{\rightarrow}\ensuremath{\pi}N$ process in the negative parity channel with Hamiltonian effective field theory, which is successful in studying the nucleon resonances associated with the meson-nucleon scattering and lattice QCD simulations. We provide the scattering amplitude of pion photoproduction and extract the electric dipole amplitudes ${E}_{0+}$. The bare ${N}^{*}(1535)$ is important for improving the consistency between our results and the experimental data.