While expressing concerns about recent developments in Turkey, the U.S. said Friday it would continue to voice strong support for its ally and that country’s democracy.

State Department spokesman John Kirby said the U.S. would not pin Turkey's democracy and the detainment of a pair of opposition leaders and deputies from the Peoples’ Democratic Party (HDP) to Ankara's membership in NATO.

"And yes, one of the guiding principles of it [NATO] is a devotion to democratic ideals and Turkey's still a democracy and Turkey's still a member of the alliance," he said.

Kirby's comments came hours after HDP co-chairs, Figen Yuksekdag and Selahattin Demirtas and, 13 deputies were remanded in custody Friday for failing to answer summonses linked to a counter-terrorism investigation.

The PKK staged a bomb attack on a police station in the southeastern province of Diyarbakir just hours after the detentions. Nine people, including two police officers were martyred in the attack.

According to the Turkish government, the HDP has links to the PKK, which is listed as a terrorist organization by Turkey, the EU and the U.S.

"We continue to send by our friend and ally Turkey in this fight" with PKK, Kirby said.

He also addressed Turkey's response to the recent abortive coup there and said the U.S. recognizes Ankara has "every right and should have every right and responsibility to try to get to the bottom of it and to deal" with the coup plotters.

"Now can you imagine what that feel like and be like in our country if it happened? How seriously the democratically-elected government -- whether you like them or not -- how the responsibility they would have to respond to that?," he said.

"Imagine what the reaction here would be if that were to happen."

According to the Turkish government, the Fetullah Terrorist Organization (FETO) and its ringleader, Fetullah Gulen, masterminded the failed July 15 coup attempt.

FETO-linked members within the Turkish military dropped bombs on civilians, the Turkish parliament building and tried to overthrow the country’s democratically-elected government.

More than 240 people were martyred and more than 2,100 injured, leading to a nationwide probe to eliminate FETO members who had infiltrated state institutions such as the judiciary and army.