German Foreign Minister Frank-Walter Steinmeier says Turkey's state of emergency should only last as long as it's "absolutely necessary."

A day after Turkish President Recep Tayyip Erdogan declared a three-month state of emergency following last week's failed coup, Steinmeier said it's important that "the rule of law, a sense of proportion and commensurability are preserved."

In a statement Thursday, Steinmeier said it's in Turkey's interest to "keep the state of emergency only for the duration that is absolutely necessary and then immediately end it."

Erdogan, who had been accused of autocratic conduct even before this week's tough crackdown, said the state of emergency would counter threats to Turkey.

Steinmeier said action should only be taken against those with "a provable involvement in punishable actions" and not "an alleged political attitude."