The department's function was initially to assist a series of solar energy activities, and it was then converted into the Energy Research Institute (ERI).
(The department's function; was; initially) (it; was converted; into the Energy Research Institute; T:then)
The department's function it
was was converted
initially
into the Energy Research Institute T:then