We show that the unrestricted wreath product of a sofic group by an amenable group is sofic. We use this result to present an alternative proof of the known fact that any group extension with sofic kernel and amenable quotient is again a sofic group. Our approach exploits the famous Kaloujnine-Krasner theorem and extends, with an additional argument, to hyperlinearby-amenable groups.2010 Mathematics Subject Classification. 20F65, 03C25. Key words and phrases. Wreath product, amenable, sofic, and hyperlinear groups. 1 2 G. ARZHANTSEVA, F. BERLAI, M. FINN-SELL, AND L. GLEBSKY Theorem B. Let G be a hyperlinear group and H be an amenable group. Then the unrestricted wreath product G ≀≀ H is hyperlinear.As hyperlinearity is preserved under taking subgroups, using the Kaloujnine-Krasner Theorem, we immediately obtain Corollary 1.1. Let G be a group with a hyperlinear, normal subgroup N G such that the quotient G/N is amenable. Then G is hyperlinear.This fact is perhaps known to specialists but it had not yet appeared in the literature explicitly.In the final section we indicate that the results are optimal for such an approach: it does not immediately extend neither to sofic-by-{residually amenable} nor to {weakly sofic}-by-amenable group extensions.