Phnom Penh first became the capital of Cambodia after Ponhea Yat, king of the Khmer Empire, moved the capital from Angkor Thom after it was captured and destroyed by Siam a few years earlier. There is a stupa behind Wat Phnom that houses the remains of Ponhea Yat and the royal family as well as the remaining Buddhist statues from the Angkorean era. In the 17th century, Japanese immigrants also settled on the outskirts of present-day Phnom Penh. A small Portuguese community survived in Phnom Penh until the 17th century, undertaking commercial and religious activity in the country.