Facts

The Public Prosecutor's Office of the Canton of Zug convicted the appellant ([X.] ) by judgment of the Criminal Court of 9 December 2014 for unlawful residence and repeated violation of a restriction order, sentencing him to an unconditional custodial sentence of six months, partly as a supplementary sentence to the judgment of the Public Prosecutor's Office of the Canton of Zug of 16 June 2011.

The appellant lodged an appeal on 15 December 2014. On 30 December 2014 the written reasoned judgment was served on him.

In his submission of 14 January 2015 to the Higher Court of the Canton of Zug, the appellant expressly declared that he accepted the judgment and would not appeal. At the same time he stated that he did not want to go to prison, as this burdened him psychologically. He raised the question whether the custodial sentence could be converted into a work sentence or a fine.

On 19 January 2015 the Higher Court informed the appellant that it would treat the declaration as a withdrawal of the appeal and write off the proceedings. It pointed out that the submission concerning serving the sentence in prison related to the question of fitness for detention, which was to be raised with the competent enforcement authority. It further explained that the requirements for neither a fine nor a work sentence were met.

The appellant did not respond to this letter. By presidential order of 26 January 2015, the Higher Court wrote off the proceedings as a result of the withdrawal of the appeal.

Before the Federal Supreme Court, the appellant requests that the order be set aside, as the submission of 14 January 2015 was wrongly treated as a withdrawal of the appeal and his fundamental rights were thereby significantly violated. He requests legal aid.

Considerations

Pursuant to Art. 386 para. 2 CrimPC, a person who has lodged a legal remedy may withdraw it. According to case law, the withdrawal must be clear, express, unambiguous and unconditional. Declarations made in the course of proceedings are to be interpreted in accordance with the general principles, taking into account good faith.

The appellant's declaration of 14 January 2015, that he accepted the judgment and would not appeal, is expressly worded. On 19 January 2015 the Higher Court informed the appellant that it would treat the declaration as a withdrawal and held out the prospect of writing off the proceedings. Moreover, he was referred to the enforcement authority regarding the question of fitness for detention and was informed of the absence of the requirements for a fine or work sentence.

The appellant did not respond to…