Australian police have charged an Indian doctor in connection with last month's failed bomb attacks in Britain, police said Saturday.

Muhammed Haneef, 27, was charged "with providing support to a terrorist organization" in connection with the botched attacks on London and Glasgow on June 29 and 30, Australian Federal Police said in a statement. The maximum penalty for the offence is 15 years in prison.

Haneef was arrested on July 2 while trying to leave the country on a one-way ticket to India. He said he was rushing home to see his wife and daughter, born June 26. Police have said they do not believe his story.

He was scheduled to appear later in the day before the Brisbane Magistrates Court for a formal hearing in the case.

He is the second person to be charged in the attacks. The other is Bilal Abdullah, who is being held in London on charges of conspiring to set off explosions.

Australian police said they are investigating links between Haneef and some of the other suspects being held in connection with the car bombs, including Abdullah.

Haneef has also been connected to Kafeel and Sabeel Ahmed, two of the suspects being held in Britain. The three are distant cousins and reportedly shared a house in the British city of Liverpool for up to two years before Haneef relocated to Australia to work in a hospital. After he moved, the three remained in contact by telephone and instant messaging.

With files from the Associated Press