Erich Honecker (German: ['e:RIc 'honeka]; 25 August 1912 - 29 May 1994) was a German politician who, as the General Secretary of the Socialist Unity Party, led the German Democratic Republic (East Germany) from 1971 until the weeks preceding the fall of the Berlin Wall in 1989. From 1976 onward he was also the country's official head of state as chairman of the State Council following Willi Stoph's relinquishment of the post. Honecker's political career began in the 1930s when he became an official of the Communist Party of Germany, a position for which he was imprisoned during the Nazi era. Following World War II, he was freed and soon relaunched his political activities, founding the youth organisation the Free German Youth in 1946 and serving as the group's chairman until 1955.

In 1930, aged 18, Honecker entered the KPD, the Communist Party of Germany. His political mentor was Otto Niebergall, who later represented the KPD in the Reichstag. After returning from Moscow in 1931 following his studies at the International Lenin School, he became the leader of the KJVD in the Saar region. After the Nazi seizure of power in 1933, Communist activities were only possible within Germany undercover; the Saar region however still remained outside the German Reich under a League of Nations mandate. Honecker was arrested in Essen, Germany but soon released. Following this he fled to the Netherlands and from there oversaw KJVD's activities in Pfalz, Hesse and Baden-Wurttemberg. He returned to the Saar in 1934 and worked alongside Johannes Hoffmann on the campaign against the region's re-incorporation into Germany. A referendum on the area's future in January 1935 however saw 90.73% vote in favour of reunifying with Germany. Like 4,000 to 8,000 others, Honecker then fled the region, initially relocating to Paris. On 28 August 1935 he illegally travelled to Berlin under the alias "Marten Tjaden", with a printing press in his luggage. From there he worked closely together with then-KPD official Herbert Wehner in opposition/resistance to the Nazi state. On 4 December 1935 Honecker was detained by the Gestapo and until 1937 remanded in Berlin's Moabit detention centre. On 3 July 1937 he was sentenced to ten years imprisonment for the "preparation of high treason alongside the severe falsification of documents". Honecker spent the majority of his incarceration in the Brandenburg-Gorden Prison, where he also carried out tasks as a handyman. In early 1945 he was moved to the Barnimstrasse Women's Prison in Berlin due to good behaviour and in order to be put to work repairing the bomb-damaged building, as he was a skilled roofer. During an Allied bombing raid on 6 March 1945 he managed to escape and hid himself at the apartment of Lotte Grund, a female prison guard. After several days she persuaded him to hand himself back in and the escape was then covered up by the guard. Honecker spent most of his time in prison under solitary confinement. After the liberation of the prisons by advancing Soviet troops on 27 April 1945, Honecker remained in Berlin. His "escape" from prison and his relationships during his captivity later led to him experiencing difficulties within the Socialist Unity Party, as well as straining his relations with his former inmates. In later interviews and his personal memoirs, Honecker therefore falsified many of the details of his life during this period. Material from the East German State Security Service has been used to allege that, in order to be released from prison, Honecker offered the Gestapo evidence incriminating fellow imprisoned Communists, claimed he had renounced Communism "for good", and was willing to serve in the German army.

Answer the following question by taking a quote from the article: What relationships did he have while in prison?
he managed to escape and hid himself at the apartment of Lotte Grund, a female prison guard.