An assembly contains a housing defining an internal space of the assembly, an electronic circuit arranged in the internal space, and a protection strip arranged in the internal space for protecting the electronic circuit against external influences. Accordingly, the protection strip forms a ground conductor that is electrically connected to the housing and to a ground connection of the electronic circuit. Furthermore, a method for producing the assembly is disclosed.