During a delivery to Tangu, Sofia and her parents discovered the lamp after being delivered to the wrong kingdom. Since Sofia was going to Tangu she volunteered to deliver it, and was instructed not to peek inside the package. However, Sofia's curiosity got the better of her when the box the lamp was in began to shook. She opened the package and discovered the lamp. When she rubbed some dirt off it, she accidentally unleashed the young genie, Kazeem.