End of migration