The Secretary for Public Security used to be the top law enforcement officer in the Portuguese Macau. After the handover of Macau from Portugal to China in 1999, the agency changed to Secretariat for Security.