There are two grammatical errors in the sentence. Find and correct them.
He was just laying down on his bed.
He was just lying down on his bed.
Complete the following task based on the instruction and optional input provided.### Instruction:
There are two grammatical errors in the sentence. Find and correct them.

### Input:
He was just laying down on his bed.

### Output:
He was just lying down on his bed.