If this is about the First Punic War then yes it was 241 B.C. But if it’s about all three Punic Wars the it finally ended in 146 B.C.
First Punic War lasted from (246-241 B.C.)
Second Punic War lasted from (218-201 B.C)
Third Punic War lasted from (149-146 B.C.)