Complex sentence: The fence was constructed as a measure during the European migrant crisis, with the aim to ensure border security by preventing immigrants from entering illegally, and enabling the option to enter through official checkpoints and claim asylum in Hungary in accordance to international and European law.
Split into simpler sentences: The fence was constructed as a measure during the European migrant crisis. Its aim is to ensure border security by preventing immigrants from entering illegally, and enabling the option to enter through official checkpoints and claim asylum in Hungary in accordance to international and European law.