In Spain, the legislative definition of agency is regulated in Law 40/2015, of October 1, on the Legal Regime of the Public Sector. Unlike other countries, in Spain only the executive branch has agencies and any need of any of the other branches is covered by the executive.