What countries comprise the Maghreb of Southwest Asia and North Africa?

The countries that comprise the Maghreb include Libya, Algeria, Morocco, Tunisia, and Mauritania. These are what is considered the Maghreb region in modern times. Historically the area has seen many countries come and go.