Much of the best Islamic architecture in the city was constructed in the Mameluke era , but the past thousand years had taken their Jerusalem was unable to regain the prosperity it had enjoyed in earlier times .
The beautiful architecture was all before the Mameluke era .