Three people who were detained on Sunday at Turkey’s Ipsala border gate on the grounds that their passports were among thousands of others which the government revoked after last year’s coup attempt, were put in pre-trial detention by a Turkish court on Tuesday, the Cumhuriyet daily reported.

According to the daily, the Turkish government earlier cancelled the suspects’ passports for over alleged links to Turkey’s Gülen group which the Turkish government accuses of masterminding a coup attempt on July 15, 2016. When the suspects — C.İ., F.F.B., Y.Y.Y., Ö.T., E.T., K.K.– tried to exit to Greece, their passports did not go through and they were detained by the border police.

According to the report, three of the detainees — C.İ., E.T. and K.K. — were arrested and sent to prison by a Turkish court on Tuesday while the rest were released pending trial.

This is not the first time a Turkish court arrested people after trying to exit Turkey with revoked passport.

On July 21, a Turkish man, identified with initials S.A, was detained at the Ipsala border gate after on the grounds that his passport was revoked by the government in the aftermath of the coup attempt.

In a similar vein, many others were detained and sent to prison while trying to flee Turkey illegally.

On Aug 28, B.A., the wife of former police chief Anadolu Atayun, who has already been under arrest for some 3 years, was put in pretrial detention after she was caught red handed on way to Greece in a boat.

Following a 34-hour chase launched upon a complaint, police Mugla’s coastal district of Fethiye carried out an operation at the city’s fishing port where the suspected five people went aboard a boat for an illegal departure to the Greek island of Rhodes.

The five included Atayun’s wife B.A. and his son B.S.A., as well as a doctor, who was earlier dismissed as part of the government crackdown against the Gulen movement, his wife and a captain who was previously investigated for human smuggling.

The court in charge arrested Atayun’s wife, the doctor and the captain while releasing the remaining three on judicial control on Monday.

State-run Anadolu news agency said Atayun’s wife earlier used ByLock, a controversial mobile app that Turkish authorities sees as a sign of links to the Gulen movement.

Turkish government along with President Recep Tayyip Erdoğan accuses the movement of masterminding the July 15, 2016 coup attempt while the latter denies involvement.

The escape attempt came only days after Atayun’s two other children, 17-year-old Y.A. and 15-year-old H.A., were briefly detained over their alleged use of ByLock mobile app. The government claims that ByLock was once primary communication tool among the followers of the movement.

Former head of the Konya police’s anti-smuggling and organized crime bureau, Anadolu Atayun was put in pre-trial arrest over links to the movement in May 2015.

Earlier, Turkey also detained Fatma Yılmazer, a lawyer and the daughter of jailed police intelligence chief Ali Fuat Yılmazer.