WeWork has appointed Jared DeMatteis as its new global general counsel, after previously serving as the company’s deputy GC.

WeWork’s previous general counsel, Peter Greenspan, will now take on a role as global head of real estate and special counsel, where he will oversee all of the U.S.-based workspace company’s real estate endeavors.