Sanae Takaichi was elected prime minister of Japan on Tuesday, becoming her the first woman to lead the country.