adverb

 

showing result used after saying a fact to introduce what then happened as a result

The guard fell asleep, thus allowing Bates to escape.

 

in this way in this way

They limit the number of people allowed into the forest, thus preventing damage to the trails.