The egg is fertilized by the sperm once the birds have mated and before the eggs are laid.