the king was sitting at his table in his workingroom behind the throne.

Make this proper case
The king was sitting at his table in his workingroom behind the throne.