Uranus has been used as a setting in works of fiction since shortly after its 1781 discovery, albeit infrequently. The earliest depictions portrayed it as having a solid surface, whereas later stories portrayed it more accurately as a gaseous planet. Its moons have also appeared in a handful of works. Both the planet and its moons have experienced a slight trend of increased representation in fiction over time.