An acceptable maximum timeframe for the judicial review of detention should be determined in light of the circumstances of each case, taking into account the complexity of the procedure, as well as the diligence shown by the competent authorities, any delay caused by the detained person and any other factors causing delay for which the Member State cannot be held responsible.