Complex sentence: They were kept in a shrine just outside the city, but, in August 394, they were transferred in the city, inside the church dedicated to the saint.
Split into simpler sentences: They were kept in a shrine just outside the city. In August 394, they were transferred in the city, inside the church dedicated to the saint.