Morocco applied to join the European Union in 1987, but was rejected by the European Council because it was not considered a European country and therefore not eligible to join.
Morocco applied to join the European Union in 1987 not eligible to join. Because it was not considered a European country and therefore not eligible to join. This was what Morocco was rejected by the European Council.