In 1907, Australia built a fence to try to control the spread of rabbits. The fence was 3,256 km long and was the longest in the world at the time. It was built to keep the rabbits out of the eastern states of Australia, where they had become an invasive species.