The ships became larger, and the village grew in size and importance. In 1782, King Rama I moved the capital to Bangkok. Work began on the Grand palace and the Temple of the "Venice of the East" because it had many canals. Many of its inhabitants lived in floating houses, and bought and sold products on boats.