Original sentence: " In July 2004, the Court declared the illegality of the barrier.In 2004, the United Nations passed a number of resolutions.In a 2004 finding, the International Court of Justice declared construction of the separation wall "contrary to international law.In addition, On July 9th 2004, the International Court of Justice issued a non-binding advisory opinion stating that only the segments of the wall that were built on occupied land violated international law, and should be either removed or not built.The UN General Assembly asked the International Court of Justice to evaluate the legal status of Israel’s "separation wall.The court also called for the barrier to be removed, and for Arab residents to be compensated for any damage done: "The Court finds that the construction by Israel of a wall in the Occupied Palestinian Territory and its associated régime are contrary to international law"
Edited sentence: In 2004, the United Nations passed a number of resolutions and the International Court of Justice issued an advisory opinion calling for the barrier to be removed, and for Arab residents to be compensated for any damage done: "The Court finds that the construction by Israel of a wall in the Occupied Palestinian Territory and its associated régime are contrary to international law".In a 2004 finding, the International Court of Justice declared construction of the barrier "contrary to international law.The UN General Assembly asked the International Court of Justice to evaluate the legal status of Israel’s “separation wall.” In July 2004, the Court declared the illegality of the barrier