One of the primary missions of the New Jersey Transit Police Department is the prevention of terrorism on all of New Jersey Transit's trains and buses. This is especially relevant since the 2004 terrorist attacks of the transit system in Madrid, Spain.