1.PrepositionBecause of; normally used with a positive connotation, though it can be used sarcastically.
"Amy was given a scholarship thanks to her excellent grades.; Thanks to the steadfast efforts of the volunteers, the town was well prepared when the flood hit.; Thanks to various kinds of endemic incompetence, humans show no prospect of ending all wars."