African swine fever virus (ASFV) codes for a putative histone-like protein (pA104R) with extensive sequence homology to bacterial proteins that are implicated in genome replication and packaging. Functional characterization of purified recombinant pA104R revealed that it binds to single-stranded DNA (ssDNA) and double-stranded DNA (dsDNA) over a wide range of temperatures, pH values, and salt concentrations and in an ATP-independent manner, with an estimated binding site size of about 14 to 16 nucleotides. Using site-directed mutagenesis, the arginine located in pA104R's DNA-binding domain, at position 69, was found to be relevant for efficient DNA-binding activity. Together, pA104R and ASFV topoisomerase II (pP1192R) display DNA-supercoiling activity, although none of the proteins by themselves do, indicating that the two cooperate in this process. In ASFV-infected cells, A104R transcripts were detected from 2 h postinfection (hpi) onward, reaching a maximum concentration around 16 hpi. pA104R was detected from 12 hpi onward, localizing with viral DNA replication sites and being found exclusively in the Triton-insoluble fraction. Small interfering RNA (siRNA) knockdown experiments revealed that pA104R plays a critical role in viral DNA replication and gene expression, with transfected cells showing lower viral progeny numbers (up to a reduction of 82.0%), lower copy numbers of viral genomes (-78.3%), and reduced transcription of a late viral gene (-47.6%). Taken together, our results strongly suggest that pA104R participates in the modulation of viral DNA topology, probably being involved in viral DNA replication, transcription, and packaging, emphasizing that ASFV mutants lacking the A104R gene could be used as a strategy to develop a vaccine against ASFV.IMPORTANCE Recently reintroduced in Europe, African swine fever virus (ASFV) causes a fatal disease in domestic pigs, causing high economic losses in affected countries, as no vaccine or treatment is currently available. Remarkably, ASFV is the only known mammalian virus that putatively codes for a histone-like protein (pA104R) that shares extensive sequence homology with bacterial histone-like proteins. In this study, we characterized the DNA-binding properties of pA104R, analyzed the functional importance of two conserved residues, and showed that pA104R and ASFV topoisomerase II cooperate and display DNA-supercoiling activity. Moreover, pA104R is expressed during the late phase of infection and accumulates in viral DNA replication sites, and its downregulation revealed that pA104R is required for viral DNA replication and transcription. These results suggest that pA104R participates in the modulation of viral DNA topology and genome packaging, indicating that A104R deletion mutants may be a good strategy for vaccine development against ASFV.