A 25-year-old Japanese photographer identified as Tadatomo Takagi is in police custody in the Indonesian province of Aceh after being detained by the military Thursday night, a senior military officer said Friday.

Brig. Gen. Bambang Dharmono, military operational commander in Aceh, told reporters in the North Aceh Regency capital of Lhokseumawe that Takagi arrived in the town Wednesday but did not have a permit from the Foreign Ministry to travel to Aceh.

A permit is required for foreign journalists under the terms of martial law, which was imposed in the province May 19.

The brigadier general asked Takagi to obtain the permit before starting work in Aceh.