Combining the two sentences by using the non-finite verb form: She was driving without a license. She was arrested and jailed by the sheriff.
She was driving without a license only to get arrested and jailed by the sheriff.
Combining the two sentences by using the non-finite verb form: She was driving without a license. She was arrested and jailed by the sheriff.
She was driving without a license only to get arrested and jailed by the sheriff.