Задание

Complete the gap with the correct particle.

These ancient stories were passed on orally, before being written ... in the ninth century.