EMSA was founded in 2002, after the EU adopted substantial packages of legislation relating to maritime security in the wake of major shipping disasters in European waters, such as those involving the ferry Estonia and the oil tankers Erika and Prestige. It was felt that a specialised technical agency was necessary to overview the enforcement of this legislation and help in its implementation.