They are the Tetrapterygidae and the Scansoriopterygids.
I suggest that these flying primitive birds evolved from pterosaurs.
Later, some of these primitive birds settled on the ground and became secondarily flightless (eg. eudromaeosaurids, oviraptors etc).
https://en.wikipedia.org/wiki/Paraves
https://en.wikipedia.org/wiki/Tetrapterygidae
Later, some of these primitive birds settled on the ground and became secondarily flightless (eg. eudromaeosaurids, oviraptors etc).
https://en.wikipedia.org/wiki/Paraves
the work of Xu et al. (2003), (2005) and Hu et al. (2009) provide examples of basal and early paravians with four wings,[10][11][12] adapted to an arboreal lifestyle who would only lose their hindwings when some adapted to a life on the ground and when avialans evolved powered flight.[13] Newer research also indicates that gliding, flapping and parachuting was another ancestral trait of Paraves, while true powered flight only evolved once, in the lineage leading to modern birds.[14]
https://en.wikipedia.org/wiki/Tetrapterygidae
Tetrapterygidae (meaning "four-wings") is a group of four-winged dinosaurs proposed by Sankar Chatterjee in the second edition of his book The Rise of Birds: 225 Million Years of Evolution, where he included Microraptor, Xiaotingia, Aurornis, and Anchiornis.[1] The group was named after the characteristically long flight feathers on the legs of all included species, as well as the theory that the evolution of bird flight may have gone through a four-winged (or "tetrapteryx") stage, first proposed by naturalist William Beebe in 1915.[2] Chatterjee suggested that all dinosaurs with four wings formed a natural group exclusive of other paravians, and that this family was the sister taxon to the group Avialae, although most phylogenetic analyses have placed the animals of his Tetrapterygidae elsewhere in Paraves, such as Xiaotingia, Aurornis, and Anchiornis being placed in Avialae.[3]