In 1945 it was taken over by Communists and the Polish name then became Elblag.
For history see wikipedia : Elbing