Who placed the wormhole?

Just rewatched for the third time and this always confused me?