A multi-junction hybrid device, wherein the device combines an ionic component and a solid organic component and comprises a first electrode, a second electrode and a third electrode, wherein the first electrode is attached to an organic component of the hybrid device for collecting electronic charge carriers of one type, wherein the second electrode is a common electrode for both the organic and ionic components of the hybrid device, and is highly permeable to ions and possesses electronic conductivity, and wherein the third electrode plays a role of a gate electrode for tuning the properties of the second electrode and organic material adjacent to the second electrode by ionic EDLC.