Ships have been captured off the coast of Somalia and crews held for ransom since the 1990s, with armed groups in the territorial sea and the government unable to enforce the law. Somali pirates attacked ships carrying humanitarian supplies to the Somali population. This was the 2009 Maersk Alabama hijacking which was the basis for the film Captain Phillips. A Danish thriller film about Somali piracy is the 2012 A Hijacking. Another movie is the 2017 The Pirates of Somalia film.