At least 26 people have been killed and 20 others wounded when a gunman opened fire at a Texas church during Sunday service.

Here's what happened.