this is just a quick question to help me better understand something on an assignment.

Did the whole UK(Wales, Scotland, England, and part of Ireland aka Northern Ireland) leave the EU or was it just Great Britain(Wales, Scotland, and England)?