1. On the hill an old tree stood.

2. On the hill stood an old tree.
3. On the hill, an old tree stood
4. On the hill, stood an old tree.
5. On the hill it stood.
6. On the hill stood it.

(Which ones are grammatical?)

1, 2, and 5 are correct.