Is a Non-Molestation Order a criminal or civil matter?

The application itself is made through the Family Court as a civil matter. However, breaching an order is a criminal offence.