Original: However, after the unconditional surrender, the Flensburg government was not recognized by the Allies and was dissolved when its members were captured by British forces on 23 May 1945, at Flensburg.
Simplified: The government was dissolved when its members were captured by British forces on 23 May 1945, at Flensburg.