Beginners Protection (BP) lasts for 7 days. UNLESS you cancel it. One way to cancel BP is to build your town hall (TH) to level 5. As soon as your TH is level 5 your beginner protection will end. If you cancel BP then you can attack and be attacked by other players.
VN:F [1.9.7_1111]Beginner's Protection,