What nation occupied Korea after World War 2?

Korea was split at the 38th parallel and North Korea was occupied by Russia and South Korea was occupied by the U.S.