In 1992, the UNTAC administration had banned forest logging and timber exports, a major industry and source of foreign earnings. In October 1993, Ranariddh issued an order to lift the ban on a temporary basis so as to allow trees that were already felled to be exported for timber. The Khmer Rouge still controlled large tracts of forests in the regions of western and northern Cambodia bordering Thailand, and helped finance its operations by selling timber to Thai forestry companies. The Cambodian government was unable to impose its will in Khmer Rouge territory, and was eager to regain the logging revenues. In January 1994, Ranariddh and Hun Sen signed a bilateral agreement with Thai Prime Minister Chuan Leekpai. The agreement provided for felled trees to be legally exported to Thailand on a temporary basis until 31 March 1994. The agreement also arranged for specially-designated customs zones to be created within Thai territory, which allowed Cambodian custom officials to inspect the logs and collect export duties.