What is the meaning of Agă?

Ottoman army officer

police chief

Source: wiktionary.org