Wikipedia says that Latin also underwent z to g by 5th century BCE, but re-adopted by 1st BCE.
... Because the sound /z/ in Latin changed to /r/ by rhotacism in the fifth century BC, z was dropped and its place given to the new letter g. In the 1st century BC, z was reintroduced at the end of the Latin alphabet to represent the sound of the Greek zeta /dz/, as the letter y was introduced to represent the sound of the Greek upsilon /y/.[5]