Image copyright ABC NEWS, AP Image caption Tashfeen Malik and Syed Rizwan Farook

A mass shooting by a married couple that left 14 people dead in California is being investigated as an act of terrorism, the FBI says.

FBI Director James Comey said there were indications that the couple had been radicalised.

Tashfeen Malik, 27, and her husband Syed Rizwan Farook, 28, died in a shootout with police after the killings at San Bernardino, east of Los Angeles.

Mr Comey said they were "potentially inspired" by foreign terror groups.

However, he said there was no evidence they were part of a network.

Mr Comey said the investigation was in its early stages and that there was still "a lot of evidence that doesn't make sense".

Earlier, an FBI spokesman said they were also investigating reports that Malik had pledged allegiance to Islamic State (IS).

She is reported to have posted a message on Facebook in support of IS leader Abu Bakr al-Baghdadi under a different name. The post has since been removed.

Media playback is unsupported on your device Media caption San Bernardino shooting suspects "may have been radicalised" - FBI

The Farook family's attorneys said on Friday that Farook was an isolated individual with few friends and Malik was a "caring, soft-spoken" housewife.

They said there was no evidence that either suspect had extremist views.

The family was aware that Farook owned two handguns and said co-workers had made fun of his beard, the attorneys said.

San Bernardino shooting - in depth

Who carried out shootings? - The couple police say were responsible

What makes this shooting different? - More than one shooter, a woman involved, a well-planned attack, explosives and a fleeing attempt

'It's crazy they lived next door' - Neighbours tell the BBC of their shock that the attackers lived nearby

Politicians 'shamed' for offering prayers - Does prayer do anything in the wake of a shooting?

Who were the victims? - Diverse backgrounds of the 14 people killed

In another development on Friday, the couple's landlord opened their apartment to the media, prompting journalists and camera crews to go inside and survey the scene.

There has been strong criticism on social media for several outlets including the BBC, but the FBI had released the residence to the landlord before he let journalists in.

Media playback is unsupported on your device Media caption David Willis looks around inside the suspects' rented apartment

After Wednesday's attack at the Inland Regional Center social services agency, bomb equipment, weapons and thousands of rounds of ammunition were found in the couple's home.

FBI spokesman David Bowdich told a news conference that authorities were trying to recover data from two mobile phones found crushed in a waste bin near the shooting scene.

He said "telephonic connections" had been established between the couple and other people of interest to the authorities.

"We have uncovered evidence that has led us to learn of extensive planning," he said.

Investigators are also said to be following up a report that Farook had argued with a colleague at work who denounced the "inherent dangers of Islam".

Image copyright EPA Image caption Reporters looked through the suspects' house and found personal items

Malik was born in Pakistan and had recently lived in Saudi Arabia.

Intelligence officials in Pakistan have contacted relatives there, a family member quoted by Reuters said.

Farook, who worked as an inspector for the city's environmental health department, was the son of Pakistani immigrants and born in the US state of Illinois.

Police said between 75 and 80 people were attending a party at the centre when the shooting began.

Media playback is unsupported on your device Media caption Saira Khan, shooting suspect's sister: "I can never imagine my brother or my sister-in-law doing something like this."

Media playback is unsupported on your device Media caption The two killers were able to legally purchase their weapons

The identities of the victims have since been released by San Bernardino's coroner. The youngest was 26 and the oldest was 60.

Local police chief Jarrod Burguan said it appeared that the couple were prepared to carry out another attack.

In the shootout with police hours after the attack, Farook and Malik fired 76 rounds of ammunition. Officers fired 380 rounds back.

Two police officers were injured during the pursuit.

One of the first officers on the scene spoke of scenes of "unspeakable" carnage in the centre.

Media playback is unsupported on your device Media caption Lt Mike Madden from San Bernardino Police was one of the first responders on the scene

Lt Mike Madden said he and officers saw dead bodies and had to pass injured people as they tried to "engage the shooters" on Wednesday.

San Bernardino is the deadliest mass shooting in the US since 26 people were killed at a school in Newtown, Connecticut in 2012.