Tax and Customs Service is the customs service of the Republic of Poland and is the uniformed and armed law enforcement agency component operating with own tactical units, within the National Revenue Administration subordinate to the Polish Ministry of Finance. In its current form, it was established in 2017 by merging the Polish Customs Service, created in 1999 from the reformed Central Customs Office until 1953 known as Central Board of Customs, with the fiscal control service, and incorporating it together with the tax administration into the newly established KAS umbrella structure. It is responsible for assessing and collecting customs duties and excise, exercising customs control, primarily at Poland's borders, the entire tax intelligence, targeted fiscal inspections, supervision of legal and combatting illegal gambling, as well as exercising tasks related to tax, customs and illegal gambling investigations in criminal cases, including tactical operations.