The largest brick church in the world, built in the 14th–16th centuries, can accommodate up to 25,000 worshipers .