The last plague was the death of all the firstborns in Egypt. Only the Israelites' firstborns were spared, as they had the blood of a young lamb on their door, so God did not let the Angel of Death enter their houses (12:23). The Pharaoh finally decided to let the Israelites go. 