Which one'is a compound sentence?

Seeing the police the thief ran away

The thief saw the police and ran away

When the thief saw the police,he ran away

The thief saw the police while he ran away



প্রশ্নের বর্ণনাঃ শীঘ্রই আসছে...