Driven by the availability of modern photolithographic techniques, the Micro Pattern Gas Detectors have been introduced in the last years of the 20 th century by pioneer activities: Gas Electron Multipliers (GEM) and Micromegas, later followed by thick-GEM, resistive GEM (RETGEM) and novel micro-pattern devices. Nowadays, a flourishing of R&D activities dedicated to MPGDs and of diversified applications is ongoing, largely favored by the technological collaboration RD51. The collaboration mission is to facilitate the development of these advanced gas-avalanche detector technologies and associated electronic-readout systems, to be used in basic and applied research. The areas of activities within RD51 include MPGD technology and new structures, device characterization, software and simulations, electronics, MPGD production, common test facilities, and applications of MPGDs. By this coverage of all aspects of MPGDs, RD51 brings together the leading experts in the field of MPGD developments and MPGD users in a wide array of applications. The RD51 achievements are reviewed by summarising the first five years of the Collaboration activity and by anticipating the future programmes, planned over the next five years.