The officer, Private Patrick James Moynihan, was stationed in Brisbane's Fortitude Valley before he gained leave to join the war.

He was just 26 years old.

On April 25, 1915, he became the first of 30 Queensland police officers killed in active service during the First World War.

Officer-in-charge at North Rockhampton police, Senior Sergeant Ben Carroll said they wanted to commemorate the 100th anniversary of the Anzacs after reading the classic poem, "The Anzac on the Wall".

He said they had researched police officers who had been killed in the First World War and found the story of Mr Moynihan.

"We thought it was prudent in the circumstances, especially in the 100 years, that we commemorate not only him but also all those officers that served and were killed in the First World War, and then on," he said.