Exodus 8:15, 31, 32
Exodus 8:15 NIV
But when Pharaoh saw that there was relief, he hardened his heart and would not listen to Moses and Aaron, just as the LORD had said.
Exodus 8:31 NIV
and the LORD did what Moses asked. The flies left Pharaoh and his officials and his people; not a fly remained.